Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Opens the Microsoft 365 Copilot side panel.
Syntax
Xrm.Copilot.openM365CopilotPanel().then(successCallback, errorCallback);
Parameters
| Parameter Name | Type | Required | Description |
|---|---|---|---|
successCallback |
Function | Yes | A function to call when the operation succeeds. |
errorCallback |
Function | Yes | A function to call when the operation fails. |
Return Value
Type: Promise<void>
Remarks
If the panel is already open, this method ensures it's initialized. The method does nothing if Microsoft 365 Copilot isn't enabled.
Example
await Xrm.Copilot.openM365CopilotPanel();