laptop and a wrench

不具合

A calculation attribute rule fails to save when using a previously declared string variable in the FeatureSetByName Arcade function.

ArcGIS Pro
不具合 ID 番号 BUG-000165771
送信されましたMarch 7, 2024
最終更新日April 9, 2025
適用対象ArcGIS Pro
見つかったバージョン3.1.3
オペレーティング システムWindows OS
オペレーティング システムのバージョン10.0 64 Bit
ステータスAs Designed

参考情報

This is by design; featuresetbyname must take a literal string to make the Arcade work across the stack. This is required for copy and paste, publishing, client-side evaluation, and much more. It is not recommended to pass a variable. If the user must pass a variable for any reason, they can create a new function: var newFeatureSetByname = FeatureSetByName, Then, use newFeatureSetByname instead. However, the user must exclude the rule from evaluation and must understand that this will affect publishing, copy and paste, and other workflows.

対処法

This is by design; featuresetbyname must take a literal string to make the Arcade work across the stack. This is required for copy and paste, publishing, client-side evaluation, and much more. It is not recommended to pass a variable. If the user must pass a variable for any reason, they can create a new function, var newFeatureSetByname = FeatureSetByName, and then use newFeatureSetByname instead. However, the user must exclude the rule from evaluation and must understand that this will affect publishing, copy and paste, and other workflows.

再現の手順

不具合 ID: BUG-000165771

ソフトウェア:

  • ArcGIS Pro

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

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

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

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

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

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

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