laptop and a wrench

Erro

When using the Python API to assign portal item categories using the update or Bulk_update methods, the new category values are added to the Portal item and the portal items definition. However, the items are not picked up when searching or filtering layers by categories in Map Viewer.

ArcGIS API for Python
Número de ID do Erro BUG-000155590
EnviadoFebruary 3, 2023
Última ModificaçãoDecember 10, 2024
Aplica-se àArcGIS API for Python
Versão encontrada2.0.1
Sistema OperacionalWindows OS
Versão do Sistema Operacional10.0
StatusAs Designed

Informações Adicionais

This is expected behavior. The filter list should come from the category schema set in the organization properties not an individual items category value.

Solução Provisória

Use the gis.admin.category_schema method with to create a category schema object and use the categorize_item method to implement category assignment procedure on each individual item.

This works on the portal item page UI and when searching for the item via a category filter in Map Viewer.

Etapas para Reproduzir

ID do Erro: BUG-000155590

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