Newer Version Available
getEnclosingPrimaryTabId()
Returns the ID of the current primary tab. This
method works within a primary tab or subtab, not within the navigation tab or custom
console components. This method is only available in API version 20.0 or later.
Syntax
Arguments
| Name | Type | Description |
|---|---|---|
| callback | function | JavaScript method that’s called upon completion of the method. |