Newer Version Available
setTabLink()
Sets a console tab’s URL attribute to the location of
the tab’s content. Use this method to generate secure console URLs when users
navigate to tabs displaying content outside of the Salesforce domain.This method is only available in API version 28.0 or
later.
Syntax
Arguments
| Name | Type | Description |
|---|---|---|
| callback | function | JavaScript method that’s called upon completion of the method. |
Sample Code–Visualforce
Response
This method is asynchronous so it returns its response in an object in a callback method. The response object contains the following fields:
| Name | Type | Description |
|---|---|---|
| success | boolean | true if the link was set successfully, false if setting was unsuccessful. |
| callback | function | JavaScript method that’s called upon completion of the method. |