laptop and a wrench

Bug

A feature collection item cannot be added to the ArcGIS Online content page using the ArcGIS API for Python gis.content.add() method.

Zuletzt veröffentlicht: September 21, 2021 ArcGIS API for Python
Bug-ID-Nummer BUG-000134041
EingereichtSeptember 22, 2020
Zuletzt geändertJune 5, 2024
Gilt fürArcGIS API for Python
Gefunden in Version1.8.1
BetriebssystemWindows OS
Betriebssystemversion10.0 64 Bit
StatusWill Not Be Addressed

Zusätzliche Informationen

The original code used to add the item has the text parameter formatted incorrectly. The correct code to add the item is: item = gis.content.add(item_properties = {"title": "random_test_3", "tags": "test,second_trial,item_from_df_csv_params", "snippet": "random_test_data item created with csv parameters", "description": "random_test_data item from csv with lat_long params", "text": json.dumps({"layers": [dict(fc.layer)], 'showLegend' : True}), "type": "Feature Collection", "typeKeywords": "Data, Feature Collection, Singlelayer"})

Schritte zur Reproduzierung

Bug-ID: BUG-000134041

Software:

  • ArcGIS API for Python

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