Newer Version Available

This content describes an older version of this product. View Latest

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

This example is set to run by clicking a custom link on a case. For more information, see “Define Custom Buttons and Links” in the Salesforce online help.

Note

Response

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