laptop and a wrench

Bogue

Adding attribute indexes to all the sublayers in a hosted feature layer using a ‘for loop’ and the ‘manager.add_to_definition’ methods of ArcGIS API for Python results in a failure.

ArcGIS API for Python
Numéro d’ID de bogue BUG-000174145
EnvoiFebruary 6, 2025
Dernière modificationJune 24, 2025
S’applique àArcGIS API for Python
Version trouvée2.4
Système d’exploitationWindows Server
Version du système d’exploitation2022
StatutAs Designed

Informations supplémentaires

Do not provide NAME:' “” ' in the addToDefinition payload while adding an index. Index names should be unique across all layers in the database. Since the index name was repeated in the for loop, it was causing a failure.

Solution de contournement

Do not provide NAME:' “” ' in the addToDefinition payload while adding an index.

Étapes pour reproduire

ID de bogue: BUG-000174145

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