Select to view content in your preferred language

Turn on/off Arcade Expressions for Pop-ups

278
2
10-01-2025 09:25 AM
Status: Open
BenjaminOgren
Occasional Contributor

When creating pop-ups using Arcade Content it would be helpful if expressions could be turned on/off with the little eyeball icon (or something similar). Currently the only options are 'Delete' and 'Duplicate'. In some cases it would be nice to build expressions to be used in certain circumstances and not in other circumstances but you still want to save the expression so you don't have to re-build it later. 

Arcade Expression Options.png

Tags (3)
2 Comments
JonathanMcD

Yeah, I get that as an idea, and would/could be useful, tho' it'd mean that there would have to be a revamp of what a pop-up actually does in terms of interactivity.

For now, could you not just duplicate the layer in the map, retaining appropriate expressions for pop-ups and leaving the user to switch on and off the layers.

BenjaminOgren
Thanks for the feedback. I like the idea of making duplicate layers but since I'd rather not have extra layers in some maps, I think a good solution (for my work) is to create an 'Arcade Examples' map that contains a collection of layers with the various pop-up configurations I want to save and reuse. Then when I need to use them, I can just refer to the web map that contains the expressions I want to use and copy the code. Thanks again!