laptop and a wrench

Bogue

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

Dernière publication: September 21, 2021 ArcGIS API for Python
Numéro d’ID de bogue BUG-000134041
EnvoiSeptember 22, 2020
Dernière modificationJune 5, 2024
S’applique àArcGIS API for Python
Version trouvée1.8.1
Système d’exploitationWindows OS
Version du système d’exploitation10.0 64 Bit
StatutWill Not Be Addressed

Informations supplémentaires

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"})

Étapes pour reproduire

ID de bogue: BUG-000134041

Logiciel:

  • ArcGIS API for Python

Recevoir une notification lorsque le statut d’un bogue change

Télécharger l’application Esri Support

En savoir plus sur ce sujet

Obtenir de l’aide auprès des experts ArcGIS

Contacter le support technique

Télécharger l’application Esri Support

Accéder aux options de téléchargement