laptop and a wrench

Bug

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
Bug ID Number BUG-000163031
SubmittedNovember 16, 2023
Last ModifiedFebruary 18, 2025
Applies toArcGIS Pro
Version found3.1.3
Operating SystemN/A
Operating System VersionN/A
StatusNon-Reproducible

Additional Information

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

Workaround

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

Steps to Reproduce

Bug ID: BUG-000163031

Software:

  • ArcGIS Pro

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options