laptop and a wrench

不具合

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
不具合 ID 番号 BUG-000179915
送信されましたOctober 3, 2025
最終更新日October 12, 2025
適用対象ArcGIS Field Maps
見つかったバージョン25.2.0
オペレーティング システムApple iOS
オペレーティング システムのバージョン18.x
ステータスWill Not Be Addressed

参考情報

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;

対処法

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

if(Count(featureSetName)>0){}

再現の手順

不具合 ID: BUG-000179915

ソフトウェア:

  • ArcGIS Field Maps

バグのステータスが変更されたときに通知を受け取る

Esri Support アプリのダウンロード

このトピックについてさらに調べる

ArcGIS エキスパートのサポートを受ける

テクニカル サポートへのお問い合わせ

Esri Support アプリのダウンロード

ダウンロード オプションに移動