Select to view content in your preferred language

AppStudio Map Viewer filter

04-09-2021 06:05 PM
New Contributor

I am trying to add a filter functionality to MapViewer template. I have a work order feature layer with a field: Status. I would like to filter by field Status: [Open] - [Planned] - [In progress] - [On hold]. 

I saw a post by @ErwinSoekianto ( where he proposes to use the Graticules panel as a filter. I have none to very limited knowledge of Qt coding. 

Can someone help me with the code and steps to add the filter to the Graticules panel or any other solutions? Is there a possibility to add more than one filter? 

Tags (2)
0 Kudos
1 Reply
Esri Regular Contributor



Too bad we don't have exactly the same sample you are looking for, for customizing a template requires some QML coding skills. 

The closest sample I could find is this Feature Layer Query from ArcGIS Runtime Qt, 

I would use this sample, and once the user is selecting the radio button that list your status selection, then it will perform the query to the feature layer following the sample above. 


I hope this is helpful.


0 Kudos