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
babitha kurianbabitha kurian 

How to check whether primary tab record is opened in edit mode or not in salesforce service console

Hi,

I have a requirement in which i should check from my sidebar VF page whether the enclosing primary tab is opened in edit mode or not. How can i check that.
Here the primary tab edit page is a VF page. I could see the URL for Edit and detail page the same in salesforce sevice console.
If the primary tab opened in edit mode i want to do some operation in the sidebar VF page.

Thanks, Babitha
SalesFORCE_enFORCErSalesFORCE_enFORCEr
generateConsoleUrl() can give you this information.