Select to view content in your preferred language

Arcade code (intersect) stopped working after Junes update

157
1
14 hours ago
StuartMoore
Frequent Contributor

this code was working fine till last weeks AGOL update, any ideas?

if ( IsEmpty($feature.Address)){
  var pc = Intersects($feature,FeatureSetByName($map,"Address Point - MPRN"))
  var fpc = First(pc)
  return fpc["location_desc"]
}
else {
  return $feature.Address
}

 

StuartMoore_0-1782720259149.png

 

1 Reply
tikola
by Esri Contributor
Esri Contributor

Is this labeling or something else? I have a strong feeling that june 26 update broke $feature functions in labeling. Or actually the function works but whole label disappeares. I am reporting this case just in support systems. We had similar issues but it got fixed 1.5 years ago but now it seems that june update bring some of them back. 

The core of issue was that it has been all the time working in old MapViewer but in new MapViewer it has had issues. Currently the challenge is obviously that old MapViewer no longer exist. 

0 Kudos