laptop and a wrench

不具合

In the ArcGIS API for Python documentation, the returns section states that the expected return is a 'dictionary containing the layerServerGens and an array of edits.' However, a filepath is returned if the parameter return_ids_only=true.

最後に公開された状態: January 31, 2022 ArcGIS Online
不具合 ID 番号 BUG-000139327
送信されましたApril 23, 2021
最終更新日June 5, 2024
適用対象ArcGIS Online
見つかったバージョン9.1
オペレーティング システムWindows OS
オペレーティング システムのバージョン10.0
修正されたバージョン2.0.1
ステータスFixed

対処法

Use a function to write the file contents back into the Python script:

import json

f = open(filepath, 'r')

for line in f:

  filecontent= line

f.close()

changedict = json.loads(filecontent)

再現の手順

不具合 ID: BUG-000139327

ソフトウェア:

  • ArcGIS Online

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

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

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

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

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

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

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