isInConsole()

Determines if the page is in the Salesforce console. This method is only available in API version 22.0 or later.

Syntax

Arguments

None

Sample Code–Visualforce

To see this example in action, click the custom link on a case. For more information, see Define Custom Buttons and Links in Salesforce Help.

Note

Response

Returns true if the page is in the Salesforce console; false if the page is not in the Salesforce console.