Edit

openM365CopilotPanel (Client API reference)

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();

Xrm.Copilot (Client API reference)