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
uptime_andrewuptime_andrew 

Detect if in Console?

Is there a way to detect if the current page has been loaded via the Console?

 

I have a Visualforce page to override our current Case object, and had to do some custom code to display the Case Email related list (this does not render via <apex:relatedList />).

 

The Case Email related list will fire javascript to load emails in another frame of the console - I want to mimic this behaviour by detecting if the user is viewing the Case in the console, and either display a link to fire the javascript or a regular link.