setClickToAct (JavaScript API Reference) for Dynamics 365 Channel Integration Framework 1.0
Note
This API will be deprecated in a future release. If you need to change outbound configuration for your channel provider, review Enable outbound communication (ClickToAct) in Dynamics 365 Channel Integration Framework 2.0.
Sets a Boolean value to enable or disable the outbound communication (ClickToAct).
Syntax
Microsoft.CIFramework.setClickToAct(value).then(successCallback, errorCallback);
Parameters
Name | Type | Required | Description |
---|---|---|---|
value | Boolean | Yes | Sets the value to enable or disable ClickToAct. |
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: Null