Skip to content

Latest commit

 

History

History
49 lines (36 loc) · 1.52 KB

File metadata and controls

49 lines (36 loc) · 1.52 KB
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
dyn365-a11y
dyn365-developer

focusTab (JavaScript API Reference) for Dynamics 365 Channel Integration Framework 2.0

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.

Syntax

Microsoft.CIFramework.focusTab(tabId, correlationId).then(successCallback, errorCallback);

Parameters

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.

Return Value

None

Example

Microsoft.CIFramework.focusTab(tabId, correlationId).then(
function(result) {
return Promise.resolve(result);
},
function(error) {
return Promise.reject(error)
});

[!INCLUDEfooter-include]