laptop and a wrench

Bug

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
Bug-ID-Nummer BUG-000174145
EingereichtFebruary 6, 2025
Zuletzt geändertJune 24, 2025
Gilt fürArcGIS API for Python
Gefunden in Version2.4
BetriebssystemWindows Server
Betriebssystemversion2022
StatusAs Designed

Zusätzliche Informationen

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.

Workaround

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

Schritte zur Reproduzierung

Bug-ID: BUG-000174145

Software:

  • ArcGIS API for Python

Benachrichtigung erhalten, wenn sich der Status eines Bugs ändert

Esri Support App herunterladen

Weitere Informationen zu diesem Thema erkunden

Unterstützung durch ArcGIS-Experten anfordern

An den technischen Support wenden

Esri Support App herunterladen

Zu Download-Optionen wechseln