laptop and a wrench

Erro

The FeatureTemplates widget does not exclude the specific template item when the value for the filterFunction property is returned as false in ArcGIS Maps SDK for JavaScript.

ArcGIS Maps SDK for JavaScript
Número de ID do Erro BUG-000157369
EnviadoApril 10, 2023
Última ModificaçãoAugust 23, 2024
Aplica-se àArcGIS Maps SDK for JavaScript
Versão encontrada4.26
Sistema OperacionalWindows OS
Versão do Sistema Operacional11.0
StatusUnder Consideration

Solução Provisória

There is a workaround for this issue to exclude only the specific item from the feature template:

Include logic in the custom filter function that if the filter label includes Incident Report (Incident Report is a field name, and all the other items are included under Incident Report), If the incident report is returned false, the filter function works as expected when item 'Dead Animal' is returned true and false for all the other items. To test this workaround, uncomment lines 121 and 122 in the sample application.

Etapas para Reproduzir

ID do Erro: BUG-000157369

Software:

  • ArcGIS Maps SDK for JavaScript

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