Customize an existing command
ribbon_customize_commandCopy a built-in command definition from the ribbon into the working diff for editing, keeping core Mscrm rules as references and copying non-core rule bodies. Then edit or publish the XML.
Instructions
Copy an out-of-the-box command definition from the composed ribbon into the working diff so it can be modified (the Ribbon Workbench 'Customise Command' operation). Rule definitions that are core (Mscrm.*) stay as id references; non-core rule bodies are copied too. After copying, edit the returned XML with ribbon_edit_diff, or publish as-is to pin the current behavior.
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. | |
| commandId | Yes | The command to copy, e.g. 'Mscrm.NewRecordFromGrid' | |
| environment | No | Dataverse environment URL, e.g. https://myorg.crm4.dynamics.com. Optional when the RIBBON_MCP_ENV_URL environment variable is set. |