laptop and a wrench

Bogue

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
Numéro d’ID de bogue BUG-000157369
EnvoiApril 10, 2023
Dernière modificationAugust 23, 2024
S’applique àArcGIS Maps SDK for JavaScript
Version trouvée4.26
Système d’exploitationWindows OS
Version du système d’exploitation11.0
StatutUnder Consideration

Solution de contournement

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.

Étapes pour reproduire

ID de bogue: BUG-000157369

Logiciel:

  • ArcGIS Maps SDK for JavaScript

Recevoir une notification lorsque le statut d’un bogue change

Télécharger l’application Esri Support

En savoir plus sur ce sujet

Obtenir de l’aide auprès des experts ArcGIS

Contacter le support technique

Télécharger l’application Esri Support

Accéder aux options de téléchargement