laptop and a wrench

不具合

The Arcade expression DomainName() does not work as expected with an attribute in ArcGIS Online.

最後に公開された状態: March 8, 2019 ArcGIS Online
不具合 ID 番号 BUG-000120493
送信されましたMarch 2, 2019
最終更新日June 5, 2024
適用対象ArcGIS Online
見つかったバージョンN/A
オペレーティング システムWindows OS
オペレーティング システムのバージョン10.0 64 Bit
ステータスWill Not Be Addressed

参考情報

According to https://developers.arcgis.com/arcade/guide/logic/ "For more complex expressions, we suggest you explicitly list all field attributes that will be used in the execution of the script at the top of the expression. This will ensure the profile, app, and map all request the appropriate fields so the expression executes properly." This is a known limitation with dynamically optimizing queries and field declaration. When writing expressions it is always best to declare the field first to ensure that it behaves accordingly. For example: $feature.COLLEGE; $feature.POPULATION; Round(($feature.COLLEGE / $feature.POPULATION) * 100, 2);

対処法

Add description in the field instead.

Or

Declare the field at the start of the expression so that it gets requested.

For example:

$feature.Domain //the field name of the domain

DomainName($feature, "Domain")

再現の手順

不具合 ID: BUG-000120493

ソフトウェア:

  • ArcGIS Online

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

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

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

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

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

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

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