Tue, 11/10/2020 - 15:51 By Amaury Veron
2 comments

This trick presents a very nice tool to debug the Command Bar in Dynamics 365: the "Command Checker".

Note that this tool is only applicable in the UUI and not to the legacy Web Client interface.

Here is the appearance of the CRM without the tool enabled:

CRM without ribbon debug tool-2

 

To enable the tool, add ribbondebug=true in your URL:

Add ribbondebug in url

This makes new buttons appear in your CRM: one for the global Command Bar of the CRM, one for the Command Bar of the View, one for the Command Bar of the Form.

Command checker buttons-2

Clicking of on one of these buttons opens the debugging tool. Below is the tool opened for the Form of a Lead:

Command checker tool on Form Properties

A similar window opens if you click on the button for the global Command Bar, or the Command Bar for View.

On the left, you can see the list of groups and buttons on your Command Bar. It shows if buttons are hidden or not.You can select a button to display information about it.

On the right you see the Properties of your button. For instance the type, the name, the Id...

You can click on another tab called "Command Properties":

Command checker tool on Form

This tab shows the Actions called by the button, the Enables Rules and the Display Rules.

It is a quick way to visualise the behaviour of a button.

One of the most interesting features is that the result of the rules are displayed alongside: true, false or skipped.

For instance, if all Enable Rules evaluate to true, the button will be enabled. If one of them evaluate to false, the button would be disabled. This is a very nice way to see which rule might not behave as you expected!

Hope you will enjoy this tool as mush as we do !

Command Checker Dynamics 365

Comments

What a nice of feature!
Found it by yourself?

Sat, 11/28/2020 - 10:16
Pujol (not verified)

I also used this command but it seems to be disabled by MS ;-(

Fri, 06/11/2021 - 09:22
Eckart (not verified)

Add new comment

Image CAPTCHA
Enter the characters shown in the image.