laptop and a wrench

不具合

The sample JSON provided on the ArcGIS REST APIs: Add To Definition (Feature Layer) for adding new fields contains errors, resulting in failure to add fields through the admin API.

ArcGIS Online
不具合 ID 番号 BUG-000162149
送信されましたOctober 17, 2023
最終更新日March 19, 2025
適用対象ArcGIS Online
見つかったバージョンOct 2023
オペレーティング システムWindows OS
オペレーティング システムのバージョン10.0 64 Bit
ステータスIn Review

対処法

Modify the JSON by removing 50/1 after the GlobalID field and removing single quotes from 'A' in the default value of the "str2" field.

  

{ 

"fields": [ 

{ 

"name": "GlobalID", 50/1 

"type": "esriFieldTypeGlobalID", 

"alias": "GlobalID", 

"nullable": false, 

"editable": false 

}, 

{ 

"name": "date1", 

"type": "esriFieldTypeDate", 

"alias": "date1", 

"nullable": true, 

"editable": false, 

"domain": null, 

"defaultValue": "GetDate() WITH VALUES" 

}, 

{ 

"name": "str2", 

"type": "esriFieldTypeString", 

"alias": "str2", 

"nullable": true, 

"editable": true, 

"domain": null, 

"defaultValue": "'A' WITH VALUES" 

} 

  

] 

} 

再現の手順

不具合 ID: BUG-000162149

ソフトウェア:

  • ArcGIS Online

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

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

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

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

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

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

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