In this blog, we are going to tell you how to hide custom ribbon buttons from the ribbon workbench.
Ribbon Workbench - You create new custom ribbon buttons many times, but sometimes, you don't really want to delete it and lose the configuration, but temporarily hide it. Now I tell you how you can hide it
So, you will see a custom button in the screenshot, which is called Click Me on Account Form, for example.
And you want to hide it temporarily. And you cannot directly right click and select Hide.
For example, if you right click on any OOB button, you will show option of Hide which you will click and your work will be done.
Enable Rule Command
1. Add a display rule inside the attached command with the buttons you have.
2. Then, choose the Value Rule in the Display Rules section.
3. And you have to do Invert Result = True then publish it.
4. And now you can see the button is hidden.