title | description | ms.date | ms.topic | author | ms.author | ms.custom | ||
---|---|---|---|---|---|---|---|---|
focusTab (JavaScript API Reference) for Dynamics 365 Channel Integration Framework 2.0 | MicrosoftDocs |
Includes description, syntax, and parameter information for the focusTab method in JavaScript API Reference for Channel Integration Framework 2.0. |
07/18/2023 |
reference |
gandhamm |
mgandham |
|
Sets the focus on a tab, if:
- The focused session belongs to the provider or if it is either the home or default session.
- The tab belongs to the session in focus.
Microsoft.CIFramework.focusTab(tabId, correlationId).then(successCallback, errorCallback);
Name | Type | Required | Description |
---|---|---|---|
tabId | String | Yes | Unique identifier of the tab |
successCallback | Function | No | A function to call when a record is retrieved. |
errorCallback | Function | No | A function to call when the operation fails. |
None
Microsoft.CIFramework.focusTab(tabId, correlationId).then(
function(result) {
return Promise.resolve(result);
},
function(error) {
return Promise.reject(error)
});
[!INCLUDEfooter-include]