Szerkesztés

Megosztás a következőn keresztül:


Troubleshooting ribbon issues in Power Apps

This guide helps you resolve issues that affect a ribbon command bar button in a Power Apps model-driven app or a customer engagement app (Dynamics 365 Sales, Customer Service, Field Service, or Marketing).

Applies to:   Power Apps
Original KB number:   4552163

Use Command checker

Command checker is a tool for examining command (ribbon) definitions and troubleshooting common issues. It's built into every Power Apps model-driven app and Dynamics 365 app.

Note

Command checker only works in a web browser. We're adding support to Android and iOS apps soon. As a workaround, check if the same issue occurs when the app is opened in an Android or iOS browser. If it does, you can use Command checker to investigate.

Use Command checker to diagnose common issues like:

Important

These issues are often caused by missing or incorrect ribbon metadata. Typically, this situation can be resolved by regenerating all ribbon metadata. Command checker has a feature that enables you to trigger the regeneration of all ribbon metadata. Only system administrators, system customizers, and makers have the permissions to regenerate metadata.

Enable Command checker

To enable Command checker, append the &ribbondebug=true parameter to the URL of the app. For example: https://yourorgname.crm.dynamics.com/main.aspx?appid=<ID>&ribbondebug=true.

Screenshot shows the parameter is appended to a Dynamics 365 application URL.

Inspect a command

Once Command checker is enabled, you'll find a new button named Command Checker in various command bars (global, main form, main grid, and subgrid). You may have to expand the menu bar to see this button.

Note

Command checker isn't available for commands in Quick actions.

  1. Find the command bar that has the command you want to investigate.
  2. Select the Command Checker button. The Command checker panel opens.
  3. Select the command you want to examine in the list of commands. Commands that aren't visible are displayed in italics and end with (hidden).

Reference

Command checker for model-driven app ribbons