laptop and a wrench

Erro

Overwriting hosted feature services from ArcGIS Pro to ArcGIS Online using Python fails to retain the description and credit (attribution) of the hosted feature layer.

ArcGIS Pro
Número de ID do Erro BUG-000163031
EnviadoNovember 16, 2023
Última ModificaçãoFebruary 18, 2025
Aplica-se àArcGIS Pro
Versão encontrada3.1.3
Sistema OperacionalN/A
Versão do Sistema OperacionalN/A
StatusNon-Reproducible

Informações Adicionais

This issue is non-reproducible. If the issue persists, contact Esri Support Services as additional information is needed for further investigation.

Solução Provisória

The following code can be used to overwrite the description, which wipes out:

from arcgis.gis import GIS
gis = GIS("https://www.arcgis.com", "<username>", "<password>")

# replace with item id from url of item detail page of feature service to be updated
search_result = gis.content.search("id:id:<itemID>")

# overwrite tags/description/snippet
search_result[0].update(item_properties={'tags':'test','description':'1234','snippet':'4567'})
print('done')

Etapas para Reproduzir

ID do Erro: BUG-000163031

Software:

  • ArcGIS Pro

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