Numéro d’ID de bogue |
BUG-000148924 |
Envoi | May 2, 2022 |
Dernière modification | June 5, 2024 |
S’applique à | ArcGIS API for Python |
Version trouvée | 2.0.0 |
Système d’exploitation | N/A |
Version du système d’exploitation | N/A |
Statut | Will Not Be Addressed
L’équipe de développement a examiné le problème ou la demande et a décidé qu’ils ne seraient pas traités. Pour d’autres explications, reportez-vous à la section Informations supplémentaires correspondant au problème.
|
Informations supplémentaires
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.
Solution de contournement
Create a script with conditional statements to bypass the error. Refer to Upload_Update_SHP_HFL as modified script.
Étapes pour reproduire