Replace the working RibbonDiffXml
ribbon_edit_diffApply a complete RibbonDiffXml replacement for Dynamics 365 command bars, covering flyouts, menus, groups, tabs, and command edits. Validates the XML and saves without errors unless force is set.
Instructions
Escape hatch for anything the declarative tools don't cover (flyouts, menus, groups, tabs, command edits): replace the entire working RibbonDiffXml with the supplied XML. The XML is parsed, normalized to schema element order and validated; errors are returned without saving unless 'force' is set. Read the current state first with ribbon_get_diff.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| force | No | Save even with validation errors (they will still block publish) | |
| entity | Yes | Entity logical name (e.g. 'account'), or 'APPLICATION' for the application ribbon. Note: APPLICATION support is EXPERIMENTAL (implemented per documented schema but not yet covered by the live end-to-end test suite) — take extra care and keep the backup ids at hand. | |
| environment | No | Dataverse environment URL, e.g. https://myorg.crm4.dynamics.com. Optional when the RIBBON_MCP_ENV_URL environment variable is set. | |
| ribbonDiffXml | Yes | Complete <RibbonDiffXml>...</RibbonDiffXml> element |