laptop and a wrench

不具合

In Map Viewer, the Arcade $feature global variable returns fields alphabetically instead of the default field order it is published as.

最後に公開された状態: October 6, 2022 ArcGIS Online
不具合 ID 番号 BUG-000152604
送信されましたSeptember 27, 2022
最終更新日September 5, 2024
適用対象ArcGIS Online
見つかったバージョン10.2
オペレーティング システムN/A
オペレーティング システムのバージョンN/A
ステータスWill Not Be Addressed

参考情報

This issue is not addressed at this time as it is a breaking change to existing expressions.

対処法

Use a different value other than $feature. For example,

var features = FeatureSetByName($map, 'layername')

var schema_dict = Schema(features);

var fields_array = schema_dict['fields'];

var allFields = '';

for(var i in fields_array){

  var fieldname =fields_array[i]['name']

  var allFields = Concatenate([allFields, fieldname, ": ", Text($feature[fieldname]), TextFormatting.NewLine]);

  }

return allFields

再現の手順

不具合 ID: BUG-000152604

ソフトウェア:

  • ArcGIS Online

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

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

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

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

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

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

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