Newer Version Available

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

Methods for Navigation Tabs

A Salesforce console displays a navigation tab from which users can select objects to view lists or home pages. Administrators choose the objects that users can access from a navigation tab. For more information, see “Work with a Navigation Tab in a Salesforce Console” and “Create a Salesforce Console App” in the online help.

You can use the following methods for navigation tabs:
Method Description
focusNavigationTab() Focuses on the navigation tab. This method is only available in API version 31.0 or later.
getNavigationTabs() Returns all of the objects in the navigation tab. This method is only available in API version 31.0 or later.
getSelectedNavigationTab() Returns the selected object in the navigation tab. This method is only available in API version 31.0 or later.
refreshNavigationTab() Refreshes the selected navigation tab. This method is only available in API version 31.0 or later.
setSelectedNavigationTab() Sets the navigation tab with a specific ID or URL. This method is only available in API version 31.0 or later.