Select to view content in your preferred language

Share Arcade expressions within AGO org

1532
5
04-18-2018 03:26 PM
Status: Open
Labels (1)
MegHoole
Frequent Contributor

It would be useful to be able to share Arcade expressions across our organization.  Users can access their existing arcade expressions within a web map.  It would be great if they would be able to access arcade expressions created by other users within the org.

Please add functionality to AGO to enable users to easily load arcade expressions created by other users.

5 Comments
BlakeTerhune

Even if it's just shared with other layers in the web map, this would be extremely useful.

BrockRyan

On a similar note, it would be helpful to separate Arcade expressions from a map (i.e. have the expression be stored as an item in AGO, or something similar to this).  This would be useful as it would allow you to implement a single expression in multiple layers in a map, in multiple maps, or as the OP suggested have others in the org be able to access and use arcade expressions independently.

For example, I have a few expressions i use quite regularly in multiple layers in multiple maps.  It would be helpful if I could do a function call to a single, central arcade expression from any map, layer, etc.

FranklinBailey

I think this solution is the most elegant - I have a specific expression that returns driving directions to a feature layer point, and I use it across many different feature layers in my org. Constantly having to create new expressions and copy and paste the code in from my desktop is tedious. A repository of your expressions that you could access (and share org-wide or with groups) would be incredibly useful and time-saving.

 

I have found that for feature layers that share the same group of expressions you can copy and paste the json containing all the expressions from one layer to another using ArcGIS Online Assistant, but I would prefer not having to do this as the potential to mess up a layer exists when using this method.

BrianFausel

Huge thumbs-up to this idea! Being able to share Arcade expressions across the whole AGOL organization would be ideal. But even the minor step of accessing / sharing expressions across layers within a feature service would be helpful.

LukeSavage

Arcade Templates would be awesome where its portable so you could share custom popups and more.