laptop and a wrench

Bug

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.

Zuletzt veröffentlicht: January 31, 2022 ArcGIS Online
Bug-ID-Nummer BUG-000139327
EingereichtApril 23, 2021
Zuletzt geändertJune 5, 2024
Gilt fürArcGIS Online
Gefunden in Version9.1
BetriebssystemWindows OS
Betriebssystemversion10.0
Behoben in Version2.0.1
StatusFixed

Workaround

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)

Schritte zur Reproduzierung

Bug-ID: BUG-000139327

Software:

  • ArcGIS Online

Benachrichtigung erhalten, wenn sich der Status eines Bugs ändert

Esri Support App herunterladen

Weitere Informationen zu diesem Thema erkunden

Unterstützung durch ArcGIS-Experten anfordern

An den technischen Support wenden

Esri Support App herunterladen

Zu Download-Optionen wechseln