Visibility toggle for menu items in Designer
RéponduI'd like to be able to hide menu item that live within a component, like a toolbar. Now, I can toggle off the entire toolbar with 'Initially Hidden', but the items in the toolbar have to be completely removed if I don't want them available.
-
Hi Jessica. You can currently set the visibility of individual tools in the toolbar in two ways.
1. By using the Visiblity Filters section to define the users/groups that should be able to see this (or not) ... this is straight forward and can be configured directly in Designer
2. By using Arcade to override the canExecute logic ... the Arcade script can determine if the tool should be allowed to run, and if not disables it (which removes it from view). ... this is a more advanced method and you'd likely require an example and possibly some instruction.
0 -
Thank you Cam! The Visibility Filter worked perfectly.
0 -
Hey Cam,
Can you provide examples of utilizing Arcade to override the canExecute logic? Would this be done in a Workflow? I am currently hoping to show a tool in a toolbar only after another tool, which runs a workflow, has finished executing. Thanks :)
- Jack C.
1 -
Hi Cam,
I also need examples for overriding the canExecute logic. I have a workflow in Layer Actions menu which won't work for layers added from files. Any suggestions are appreciated.
- Michelle W.
0
Vous devez vous connecter pour laisser un commentaire.
Commentaires
4 commentaires