Imagine a scenario where we have both the disable rule and HideCustomAction implemented for a ribbon button. Let us see with an example what will happen in this scenario.
First, let us implement the display rule to hide the Delete button from Contact form when it is in a disabled state.
For active record à
We can see the delete button in the command bar.
For disabled record à The delete button is not visible.
Now let us hide the button using HideCustomAction
Interestingly the Delete…