getTabs (JavaScript API Reference) for Dynamics 365 Channel Integration Framework 2.0
Returns an array of tab Ids associated with template name or template tags for tabs in the session in focus, if the session belongs to the channel provider.
Syntax
Microsoft.CIFramework.getTabs(tabtemplatename, tags, correlationId).then(successCallback, errorCallback);
Parameters
Name | Type | Required | Description |
---|---|---|---|
Unique Name | String | No | Unique Name of the application tab template |
tags | String | No | Tags associated with the application tab |
correlationId | GUID | No | Used to group all related API calls together for diagnostic telemetry |
successCallback | Function | No | A function to call when the request is successful |
errorCallback | Function | No | A function to call when the request fails |
Return value
Promise with the value as Array of strings
Example
Microsoft.CIFramework.getTabs("tabtemplatename", correlationId).then(
function(result) {
return Promise.resolve(result);
},
function(error) {
return Promise.reject(error)
});
Povratne informacije
https://aka.ms/ContentUserFeedback.
Kmalu na voljo: V letu 2024 bomo ukinili storitev Težave v storitvi GitHub kot mehanizem za povratne informacije za vsebino in jo zamenjali z novim sistemom za povratne informacije. Za več informacij si oglejte:Pošlji in prikaži povratne informacije za