I'm developing a costum context menu for Drive and have a use case where, based on the selected asset(s), some items should be visible or hidden. If I understand correctly the GetContextCommandsHandler is used to build up the menu, and the CanEnableContextCommandHandler class is used for enabling or disabling the context menu item.
Is there a way that I can hide or remove it based on the selected asset(s)?
Thanks for trying the custom context menu fearture, which is new for AD 3.
if CanEnableContextCommandHandler returns false, In Bridge, the menu is invisible for the user, for Finder/Explorer, the menu is in disabled status. the user can see it, but she/he can do nothing with it.