function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Bhakti GujarathiBhakti Gujarathi 

Return url parameter not working as expected in salesforce console integration.

I have this scenario where i have to navigate to standard attach file page on a button click in console app. I am passing return URL as a parameter in URL. But after attaching a file and clicking of 'Done' button, I am not redirected to original page. I am pass return URL as a parameter in URL.
Nupoor SharmaNupoor Sharma
Hi Bhakti,

You might want to have a look at the Salesforce Console Integration Toolkit.
https://developer.salesforce.com/docs/atlas.en-us.api_console.meta/api_console/

Consider the generateConsoleUrl() and openConsoleUrl() methods.