You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

BUI addin disable / hide custom command

Received Response
70
Views
1
Comments
edited Jun 13, 2022 4:11AM in General Technical Discussions 1 comment

Summary

BUI addin disable / hide custom command

Content

Hi all,

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.

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!