+ Start a Discussion
Anju Chacko QBAnju Chacko QB 

Get Id in VF page from Service Console

I have a VF page that works well in Classic view, but in Service console the CurrentPage.parameters.id is returning null, so page fails.
I tried getFocusedPrimaryTabObjectId() but didnt work

Experts.. please help!
SandhyaSandhya (Salesforce Developers) 
Hi,

where ever i see it is the getFocusedPrimaryTabObjectId() which returns the current page id .Please refer below links if you have implemented in the same way.

https://developer.salesforce.com/docs/atlas.en-us.api_console.meta/api_console/sforce_api_console_getfocusedprimarytabid.htm
 
http://salesforce.stackexchange.com/questions/79020/get-object-id-of-the-currently-open-primary-tab-on-a-custom-console-component-th
 
Hope this helps you!

If this helps you please mark it as solved.

Thanks and Regards
Sandhya