Select to view content in your preferred language

Query Widget - Unique List

200
2
Jump to solution
05-16-2024 10:26 PM
LIZDean
New Contributor III

I am creating an experience building app in ArcGIS Online but don't understand how to get the query builder to create a unique list that the user can select on.

My dataset is a list of states with an attribute called 'State'.

I want the user to be presented with a unique list of "States" and then zoom to that result.

 

Tags (1)
0 Kudos
1 Solution

Accepted Solutions
TianWen
Esri Contributor

Thanks for the post!

Please follow the steps below:

1. Select your field and set the source type to 'Unique'. Then, choose the 'Ask for value' option.

TianWen_0-1718179012591.png

2. Configure the "Records created" -> Map "Zoom to" message action

TianWen_1-1718179143665.png

TianWen_2-1718179157538.png

This will create the intended Query widget, allowing end users to select a value from the unique value list and then zoom to the query results.

TianWen_3-1718179263947.png

 

 

View solution in original post

0 Kudos
2 Replies
LIZDean
New Contributor III

I figured it out using the filter widget 🙂

0 Kudos
TianWen
Esri Contributor

Thanks for the post!

Please follow the steps below:

1. Select your field and set the source type to 'Unique'. Then, choose the 'Ask for value' option.

TianWen_0-1718179012591.png

2. Configure the "Records created" -> Map "Zoom to" message action

TianWen_1-1718179143665.png

TianWen_2-1718179157538.png

This will create the intended Query widget, allowing end users to select a value from the unique value list and then zoom to the query results.

TianWen_3-1718179263947.png

 

 

0 Kudos