Select to view content in your preferred language

Experience Builder Query Widget Spatial Filter

8649
15
05-12-2022 01:31 PM
AdejumoBidemi
Occasional Contributor

Working on an App with EB using the Query Widget (Spatial filter>Filter by> Selected features from data source>Add filter layer>Data Added) but it doesn't work. It selects more than the boundary but when I try the same in WebApp builder it returns the correct number. Also noticed that if I use the draw tool, it also gives the correct result.

                                                 

Experience Builder Query ResultExperience Builder Query Result           WebApp Query ResultWebApp Query Result

Does anyone know how to solve this issue?

0 Kudos
15 Replies
TonghuiMing
Esri Regular Contributor

@AdejumoBidemi Unfortunately I am not able to reproduce your issue. In my following test case, I chose to do a query on USA cities with filters based on USA states. Once Iowa was selected, the cities within this state has been queried successfully (34):

TonghuiMing_0-1653473773883.png

What was your selection method - point-click or map selection tools? Screenshots or a video demonstrating your workflow could be helpful to provide more details.

0 Kudos
AbiDhakal
Frequent Contributor

@TonghuiMing 

This is not working in ArcGIS Enterprise 11.5. Please see screenshot. It selects all features.

AbiDhakal_0-1769113134186.png

 

0 Kudos
TonghuiMing
Esri Regular Contributor

Also, telling from your screenshot above - the one with 5846 records, was it possible that you run the Query before selecting any specific features? If you haven't selected anything, the entire layer will be used to get your results.

0 Kudos
AdejumoBidemi
Occasional Contributor

I had the selecting polygon (spatial filter) pre-defined but it does not use the it

0 Kudos
TonghuiMing
Esri Regular Contributor

Please contact Esri Support so they will work with you on the issue identifications, detailed reproducible steps, or any screenshots/videos to demonstrate your workflow. Thanks.

0 Kudos
PhilLarkin1
Frequent Contributor

Did you find a solution? I am experiencing the a similar issue.

0 Kudos
AdejumoBidemi
Occasional Contributor

No I did... I'd to use a different tool in Web AppBuilder

0 Kudos
PhilLarkin1
Frequent Contributor

Same here. Really wanted to use EB but couldn't get the Query Widget to return consistent results.

TianWen
Esri Contributor

Is it possible to provide a sample app so we can investigate your case?

0 Kudos