| 不具合 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){}
再現の手順