You need to sign in to do that
Don't have an account?
SFDC Forum 9
openPrimarytab()
Hi I have vfpage in salesforce console in classic.
Based on given input, it opens contact custom detailed page using (sforce.openPrimaryTab ).
Same vf page i have placed in lighting app and trying to call it, but it does not go anywhere.
Please help me any alternative for this.
NOTE:: I want to use same vf page and make it compatible to lightning, dont want to create lightning component for this.
Based on given input, it opens contact custom detailed page using (sforce.openPrimaryTab ).
Same vf page i have placed in lighting app and trying to call it, but it does not go anywhere.
Please help me any alternative for this.
NOTE:: I want to use same vf page and make it compatible to lightning, dont want to create lightning component for this.
All Answers
Can you share if you are seeing any error in the browser console logs in case of lightning?
Please see related article for same issue and try the approach mentioned there
https://salesforce.stackexchange.com/questions/138466/openprimarytab-function-does-not-work
https://salesforce.stackexchange.com/questions/217627/salesforce-lightning-standard-navigation-openprimarytab-not-working
Thank you
Please find here.
Can you share what are the parameters passed to sforce.console.openPrimaryTab method
Thanks
Are you from salesforce team by any chance.If so, can you connect through zoom\web ex quickly.So that I can show you wats gng on there.
Thanks
Are you from salesforce team, if yes, can you connect thorugh zoom or something, so that i can show whats happening here.
thanks!
Hey Swetha,
Are you from salesforce team, if yes, can you connect thorugh zoom or something, so that i can show whats happening here.
thanks!