Bug-ID-Nummer |
BUG-000148924 |
Eingereicht | May 2, 2022 |
Zuletzt geändert | June 5, 2024 |
Gilt für | ArcGIS API for Python |
Gefunden in Version | 2.0.0 |
Betriebssystem | N/A |
Betriebssystemversion | N/A |
Status | Will Not Be Addressed
Das Entwicklungsteam hat das Problem bzw. die Anforderung sorgfältig geprüft und ist zu dem Schluss gekommen, es nicht zu beheben bzw. keine weiteren Schritte zu unternehmen. Weitere Erläuterungen finden Sie ggf. im Abschnitt "Zusätzliche Informationen" des jeweiligen Problems.
|
Zusätzliche Informationen
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.
Schritte zur Reproduzierung