laptop and a wrench

Bug

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
Bug-ID-Nummer BUG-000157369
EingereichtApril 10, 2023
Zuletzt geändertAugust 23, 2024
Gilt fürArcGIS Maps SDK for JavaScript
Gefunden in Version4.26
BetriebssystemWindows OS
Betriebssystemversion11.0
StatusUnder Consideration

Workaround

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.

Schritte zur Reproduzierung

Bug-ID: BUG-000157369

Software:

  • ArcGIS Maps SDK for JavaScript

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