Hello!
I'm creating an Acrade expression that will allow me to return attribute information from another layer via an intersect. In this case wetland information will be returned when a parcel is clicked on. My current expression works but I cant seem to figure out how to return text that says "No Wetland" when there is no intersecting wetland. Any help is appreciated.
Arcade Expression:
var points =FeatureSetByName($map,"WetlandsLayer");
var countp = Intersects(points,$feature);
var result = "";
for (var item in countp){
var id = item["LABEL12"];
result += id + ' '
}
return resultThanks!