You need to sign in to do that
Don't have an account?
SFDC Forum 9
when i refresh page, i lost tab data
Hi All,
I have lightning compoent, when i click on some button in that, js controller will call apex method,from there will get details from web service and come back to component open as sub tab and there shows all details from web service.(note that this subtab is basically from third party, not salesforce custom tab)
Here for sub tab, will pass the dynamic web service URL.so far so good.
But when component page gets refreshed , sub tab does not show nay data, it is blank.
But it works with classic code, I have gone through classic code, did not get what they might have used to get this functionality, any idea
I have lightning compoent, when i click on some button in that, js controller will call apex method,from there will get details from web service and come back to component open as sub tab and there shows all details from web service.(note that this subtab is basically from third party, not salesforce custom tab)
Here for sub tab, will pass the dynamic web service URL.so far so good.
But when component page gets refreshed , sub tab does not show nay data, it is blank.
But it works with classic code, I have gone through classic code, did not get what they might have used to get this functionality, any idea
The below blog also have a similar issue check it once,
https://salesforce.stackexchange.com/questions/172370/why-does-my-apex-page-work-in-classic-mode-but-not-in-lightning-mode
It might help you.
Thanks.