laptop and a wrench

Bogue

When running a function from the arcgis.features module using the ArcGIS API for Python with context parameter including {"overwrite": True}, the overwritten feature layer adds an identical, duplicate sublayer to the selected item instead of overwriting.

ArcGIS API for Python
Numéro d’ID de bogue BUG-000161602
EnvoiSeptember 21, 2023
Dernière modificationJune 18, 2025
S’applique àArcGIS API for Python
Version trouvée2.1.1
Système d’exploitationN/A
Version du système d’exploitationN/A
StatutDuplicate

Informations supplémentaires

Duplicate of BUG-000164245.

Solution de contournement

Use ArcGIS Online Assistant to remove sublayers from feature layer. Note: ArcGIS Online Assistant is not supported by Esri Technical Support.

  1. Navigate to assistant.esri-ps.com and log in.
  2. On the My Content tab, find the target feature layer and click it. Click View Item JSON.
  3. Click the Data tab and click Edit JSON.
  4. Delete the duplicate JSON data. Make sure to keep the original ("id": 0). Deleting it all will break the layer and any dependent apps.

Étapes pour reproduire

ID de bogue: BUG-000161602

Logiciel:

  • ArcGIS API for Python

Recevoir une notification lorsque le statut d’un bogue change

Télécharger l’application Esri Support

En savoir plus sur ce sujet

Obtenir de l’aide auprès des experts ArcGIS

Contacter le support technique

Télécharger l’application Esri Support

Accéder aux options de téléchargement