Hi,
I have an Arcade expression in which I would like to look through all features for calculation.
I start my expression as:
var Zoning = FeatureSetByName($layer,["City"],true);
I would like to use the variable 'Zoning' to loop in order to calculate in each $feature using the 'City' attribute and the geometry (hence 'True')
In Arcade, I though I could simply point to the current layer using $layer but it does not work!
For info, I am using this Arcade expression in Calculate Field in Model Builder and I cannot easily reference the $datastore name as it is dynamic.
Any help appreciated