Bug ID Number |
BUG-000148924 |
Submitted | May 2, 2022 |
Last Modified | June 5, 2024 |
Applies to | ArcGIS API for Python |
Version found | 2.0.0 |
Operating System | N/A |
Operating System Version | N/A |
Status | Will Not Be Addressed
The development team has considered the issue or request and concluded it will not be addressed. The issue's Additional Information section may contain further explanation.
|
Additional Information
The overwrite in the add method of the ContentManager is to state whether the item has the possibility to be overwritten.
Using add to overwrite is not a recommended workflow, instead, refer to the overwrite method found in the FeatureLayerCollectionManager class: https://developers.arcgis.com/python/api-reference/arcgis.features.managers.html?highlight=overwrite#arcgis.features.managers.FeatureLayerCollectionManager.overwrite.
Workaround
Create a script with conditional statements to bypass the error. Refer to Upload_Update_SHP_HFL as modified script.
Steps to Reproduce