laptop and a wrench

Bug

ArcGIS Field Maps 25.2 returns the error message "Unable to Load All Data. Some expressions failed to evaluate" when a pop-up contains an Arcade expression that returns an empty FeatureSet.

ArcGIS Field Maps
Bug-ID-Nummer BUG-000179915
EingereichtOctober 3, 2025
Zuletzt geändertOctober 12, 2025
Gilt fürArcGIS Field Maps
Gefunden in Version25.2.0
BetriebssystemApple iOS
Betriebssystemversion18.x
StatusWill Not Be Addressed

Zusätzliche Informationen

In the latest release of ArcGIS Field Maps, this is not a valid expression since the variable being accessed in the return expression has not been declared when the FeatureSet is empty. To remedy this, move the declaration of the variable in the for loop outside the loop. var wetlands = FeatureSetByName($map, "Layer 2"); var intNWis = Intersects($feature, wetlands); var intwetland; for (var n in intNWls){ intwetland = n.ATTRIBUTE; return intwetland;

Workaround

Add a conditional statement to return the FeatureSet only when the count is not zero:

if(Count(featureSetName)>0){}

Schritte zur Reproduzierung

Bug-ID: BUG-000179915

Software:

  • ArcGIS Field Maps

Benachrichtigung erhalten, wenn sich der Status eines Bugs ändert

Esri Support App herunterladen

Weitere Informationen zu diesem Thema erkunden

Unterstützung durch ArcGIS-Experten anfordern

An den technischen Support wenden

Esri Support App herunterladen

Zu Download-Optionen wechseln