Select to view content in your preferred language

Arcade / FeatureSetByName error 'Object Not Found $map2'

42
1
9 hours ago
Labels (2)
FrankBrenner
New Contributor

Ver ARCGIS 3.3.1

Cannot get past error 'Object Not found $map2'

Checked the Properties of 'Map2' to identify any alias .. none

_/

var x = FeatureSetByID($map, 'FireServiceArea', [*], true);
var z = $feature.name;
return z

<ERR> Invalid Expression / Error on line1 / Identifier expected 

---------

var x = FeatureSetByName($map, 'FireServiceArea', [*], true);
var z = $feature.name;
return z

<ERR> Invalid Expression / Error on line1 / Object not found $map 

--------

 

 

 

 

 

 

0 Kudos
1 Reply
KenBuja
MVP Esteemed Contributor

The Arcade Labeling profile doesn't have access to the $map profile variable, only the $feature variable.

0 Kudos