Select to view content in your preferred language

Can't find $map profile variable in Arcade Expression in Enterprise webmap

81
1
a week ago
PLadd
by
Frequent Contributor

I have Enterprise 11.3.  I'm in a webmap trying to learn Arcade expressions.  I have a layer highlighted in Contents panel, show Properties, click on Popup > Attribute Expressions > Add expression.  In Arcade expression window, I click on Profile variables and there is no $map variable, only $feature, $userInput, and $graph.  I tried ArcGIS Online too but I don't see it in there either.

https://developers.arcgis.com/arcade/profiles/popup/

 

 

0 Kudos
1 Reply
PLadd
by
Frequent Contributor

With the help of ESRI tech support, I was only able to see $map Profile variable would work if I added a feature layer to a webmap using "Add layer from URL":

PLadd_1-1744311556488.png

All of my layers in the webmap were added by using "Browse layers" and then adding the "Map Image Layer."  I guess I missed the documentation that spells this out.

Seems odd to me that this is the only way to access a $map Profile variable.  I'm still hoping for suggestions before I have to change all of my webmaps. . . . . .

0 Kudos