Saturday, August 23, 2025

What Is Display Rule And Enable Rule In RibbonWorkbench Of Dynamics 365 CRM/CE

In this post we are going to explain what is display rule and enable into Dynamics 365 CRM RibbonWorkBench.

The Display Rule and Enable Rule are used to perform the operation into Command or Ribbon buttons.

1. Display Rule:

This Display Rule are used to hide and show the ribbon button based on FormState Rule(create, existing, read only etc.), Value Rule, Option Set Rule etc.

=> Open RibbonWorkBench tool from your XrmToolBox or Solution Ribbon.
=> Open your solution into ribbonworkbench
=> select your button
=> Click on Display Rule + icon
=> Add new Display Rule
=> Click on Add Step
=> Now you will see the below options.



2. Enable Rule:

This Enable Rule are used to hide and show the ribbon button based on FormState Rule(create, existing, read only etc.), Value Rule etc. 
You can see you have the Custom Rule option into Enable Rule, by using you can run your own rules logic.

=> Open RibbonWorkBench tool from your XrmToolBox or Solution Ribbon.
=> Open your solution into ribbonworkbench
=> select your button
=> Click on Enable Rule + icon
=> Add new Enable Rule
=> Click on Add Step
=> Now you will see the below options.



No comments:

Post a Comment

Hide And Show The Dynamics 365 CRM Button Based On Logged In User Security Roles

 In this post I am going to explain how you will hide and show the Ribbon/Command buttons based on logged in user security rule. I have one ...