Publish the working diff to the environment
ribbon_publishValidate, back up, and deploy ribbon changes to Dataverse. Submits an async solution import, waits, publishes XML, and verifies changes are live; returns backup ID for restore.
Instructions
Validate, back up the current server state, then write the working RibbonDiffXml to the environment: splice into a fresh solution export, submit an async solution import, wait up to waitSeconds, then PublishXml and verify the changes are live by re-reading the composed ribbon. If the import outlasts the wait, returns status 'importing' — finish with ribbon_publish_status. Returns the backup id for ribbon_restore_backup.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| 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. | |
| waitSeconds | No | How long to wait for the server-side import before returning 'importing' (default 120) |