laptop and a wrench

Error

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 del error BUG-000157369
EnviadoApril 10, 2023
Última modificaciónAugust 23, 2024
Relacionado conArcGIS Maps SDK for JavaScript
Versión encontrada4.26
Sistema operativoWindows OS
Versión de sistema operativo11.0
EstadoUnder Consideration

Solución alternativa

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.

Pasos para reproducir

ID del error: BUG-000157369

Software:

  • ArcGIS Maps SDK for JavaScript

Recibir notificaciones cuando cambie el estado de un error

Descargar la aplicación de soporte de Esri

Descubrir más sobre este tema

Obtener ayuda de expertos en ArcGIS

Contactar con el soporte técnico

Descargar la aplicación de soporte de Esri

Ir a opciones de descarga