Select to view content in your preferred language

$view.scale not recognized in ArcGIS Pro Arcade Label Expression?

70
1
Friday
GregSchneider
Emerging Contributor

I'm using Arcade in ArcGIS Pro and trying to label a feature using one field if under a certain map scale, and using a different field if above that scale. So when zoomed in close you get the full label and when zoomed out it is abbreviated. 

It seems that according to this documentation, the profile $view.scale should be compatible in ArcGIS Pro. The expression validates but then gives a Drawing Error: Object not found $view.

GregSchneider_1-1749834003324.png

 

Also, according to this old Ideas submission this functionality is marked as Implemented. Using the same expression in a webmap works, but again according to the documentation linked above it seems it should function in Pro as well. 

 

What am I missing?

 

0 Kudos
1 Reply
KenBuja
MVP Esteemed Contributor

Which version of ArcGIS Pro are you using? According to the documentation, $view was implemented in Arcade 1.30. In the version matrix, this version is available in ArcGIS Pro 3.5 only.

0 Kudos