| Bug-ID-Nummer |
BUG-000179915 |
| Eingereicht | October 3, 2025 |
| Zuletzt geändert | October 12, 2025 |
| Gilt für | ArcGIS Field Maps |
| Gefunden in Version | 25.2.0 |
| Betriebssystem | Apple iOS |
| Betriebssystemversion | 18.x |
| Status | Will Not Be Addressed
Das Entwicklungsteam hat das Problem bzw. die Anforderung sorgfältig geprüft und ist zu dem Schluss gekommen, es nicht zu beheben bzw. keine weiteren Schritte zu unternehmen. Weitere Erläuterungen finden Sie ggf. im Abschnitt "Zusätzliche Informationen" des jeweiligen Problems.
|
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