Select to view content in your preferred language

How to configure to create an query widget

199
3
Jump to solution
4 weeks ago
baohuachu7
Emerging Contributor

My requirement is simple:

    In they widget there is an text or list for input value which worked as condition.  Then a button for execute query and the result to be outputed to an list widget. 

For example, there is a pipe layer , to query the features within current map extent and the diammeter which is larger than 0.5m(for user input input).  

I researched all the documents not find solution

0 Kudos
1 Solution

Accepted Solutions
Laura
by MVP Regular Contributor
MVP Regular Contributor

I do believe you'll have to set the query field and the greater, less than or equal to. You can set up multiple queries to get all of those options. 

View solution in original post

0 Kudos
3 Replies
Laura
by MVP Regular Contributor
MVP Regular Contributor

I am a little confused by what you are trying to say. You can use a query widget to make it say Diameter (field) "is greater than" ___. This can also be done using the filter widget. 

Within the query widget you can set up a spatial filter to use the current map extent. 

 

0 Kudos
baohuachu7
Emerging Contributor

Sorry for my not described clearly.   My question is :

 I expect the  query widget can be configured to this result:user can select  the query type from the list  "is ,is not, is at least ,is less than , is between..."   and then input value to query, and set other options for spatial filter as "current map extent/ all the data source".

0 Kudos
Laura
by MVP Regular Contributor
MVP Regular Contributor

I do believe you'll have to set the query field and the greater, less than or equal to. You can set up multiple queries to get all of those options. 

0 Kudos