laptop and a wrench

Error

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 del error BUG-000163031
EnviadoNovember 16, 2023
Última modificaciónFebruary 18, 2025
Relacionado conArcGIS Pro
Versión encontrada3.1.3
Sistema operativoN/A
Versión de sistema operativoN/A
EstadoNon-Reproducible

Información adicional

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

Solución alternativa

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')

Pasos para reproducir

ID del error: BUG-000163031

Software:

  • ArcGIS Pro

Recibir notificaciones cuando cambie el estado de un error

Descargar la aplicación de soporte de Esri

Descubrir más sobre este tema

Obtener ayuda de expertos en ArcGIS

Contactar con el soporte técnico

Descargar la aplicación de soporte de Esri

Ir a opciones de descarga