setMode (JavaScript API Reference) for Dynamics 365 Channel Integration Framework 1.0
Sets the state of the panel.
Syntax
Microsoft.CIFramework.setMode(value).then(successCallback, errorCallback);
Parameters
Name | Type | Required | Description | ||||
---|---|---|---|---|---|---|---|
value | Number | Yes | The value to set the mode of the panel.
|
||||
successCallback | Function | No | A function to call when the request for setting the panel state is successful. | ||||
errorCallback | Function | No | A function to call when the request for setting the panel state fails. |
Return value
Returns a promise object with a value.
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for