Select to view content in your preferred language

Arcade Expression in ArcGIS Dashboard

433
1
08-19-2022 12:20 AM
junaidjawaid
New Contributor III

Arcade expression is not showing the global functions i.e. $map, $feature. Can any one help that why is this happening? Am I missing something in the configuration? Please refer to the attached snapshot bellow:

junaidjawaid_0-1660893299948.png

however these functions are visible in the webmap > add expression option.

0 Kudos
1 Reply
JohannesLindner
MVP Frequent Contributor

This is expected behaviour.

 

There are different "profiles", contexts in which Arcade can be used in the ArcGIS environment. Some of those profiles forbid certain globals and functions, mostly for technical or performance reasons.

The different profiles and their allowed globals can be found here: Profiles | ArcGIS Arcade | ArcGIS Developers

Each Arcade function is documented with the profiles in which it can be used. The function documentation is here: Function Reference | ArcGIS Arcade | ArcGIS Developers

 

 

In a dashboard, $feature is replaced with $datapoint. 


Have a great day!
Johannes