編輯

共用方式為


getClickToAct (JavaScript API Reference) for Dynamics 365 Channel Integration Framework 1.0

Returns a Boolean value to indicate whether the outbound communication (ClickToAct) is enabled or not.

Syntax

Microsoft.CIFramework.getClickToAct(value).then(successCallback, errorCallback);

Parameters

Name Type Required Description
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

Type: Boolean

Description: Returns Promise object with the value. True if ClickToAct is enabled; false otherwise.