laptop and a wrench

Erro

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
Número de ID do Erro BUG-000174145
EnviadoFebruary 6, 2025
Última ModificaçãoJune 24, 2025
Aplica-se àArcGIS API for Python
Versão encontrada2.4
Sistema OperacionalWindows Server
Versão do Sistema Operacional2022
StatusAs Designed

Informações Adicionais

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.

Solução Provisória

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

Etapas para Reproduzir

ID do Erro: BUG-000174145

Software:

  • ArcGIS API for Python

Seja notificado quando o status de um erro mudar

Baixe o Aplicativo de Suporte da Esri

Descubra mais sobre este tema

Obtenha ajuda de especialistas do ArcGIS

Entre em contato com Suporte Técnico

Baixe o Aplicativo de Suporte da Esri

Ir para as opções de download