I want to hide the button when the current view he is viewing has less then x records.
I was looking for a "Custom Javascript Rule" which is unfortunately not available.
Aat least i want to disable it.
So I add a "Enable rule" which contains a "Custom Javascript Rule", which points to a function in js library.
Unfortunately this function never gets executed and the button is still enabled.
The custom Ribbon button is part of the ApplicationRibbon in the "Home" section of the Command bar (Ribbon workbench).
What options do I have to disable/hide the custom button?