laptop and a wrench

Erro

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

Última Publicação: September 21, 2021 ArcGIS API for Python
Número de ID do Erro BUG-000134041
EnviadoSeptember 22, 2020
Última ModificaçãoJune 5, 2024
Aplica-se àArcGIS API for Python
Versão encontrada1.8.1
Sistema OperacionalWindows OS
Versão do Sistema Operacional10.0 64 Bit
StatusWill Not Be Addressed

Informações Adicionais

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

Etapas para Reproduzir

ID do Erro: BUG-000134041

Software:

  • ArcGIS API for Python

Seja notificado quando o status de um erro mudar

Baixe o Aplicativo de Suporte da Esri

Descubra mais sobre este tema

Obtenha ajuda de especialistas do ArcGIS

Entre em contato com Suporte Técnico

Baixe o Aplicativo de Suporte da Esri

Ir para as opções de download