AnsweredAssumed Answered

Agol Overlapping Features in Pop-Up (Arcade)

Question asked by aa.malik on Aug 13, 2020
Latest reply on Aug 13, 2020 by aa.malik

Hi Guys need help with the Arcade expression. I got the expression working to get all the zones within a given parcel. I added a comma to for multiple zones within a parcel. However a comma also shows up at the end. How can I fix this expression so there is no comma at the end.

 

var intersectLayer =Intersects(FeatureSetByName($map,"Zones"),Buffer($feature, -10, 'feet'))

var zones = ""

for (var f in intersectLayer){

zones = Concatenate(zones, f.BASEZONE, ", ")

}

return zones

Outcomes