BUI addin disable / hide custom command
SummaryBUI addin disable / hide custom command
I've created a BUI add-in that register a custom button in the ribbon. My need is to hide or disable this button / command depending on a field value of the record.
I've tried using the "addValidatorCallback" function, which is great when the workspace load but useless once loaded. I've also tried an event listener on the field but I don't see any way to hide / disable a command once registered and injected in the ribbon, I've tried to log / debug all objects related to this command but could not find any attributes / methods.