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 Result
WebApp Query Result
Does anyone know how to solve this issue?
Hi @TianWen,
I have the same issue. I cannot share my app, but I will post detailed screen shots. I am using the AGOL version of ExB.
1. I have a spatial query set up to query buildings within selected national forests. You can see my settings below.
2. I have another query set up to select a national forest by name and then zoom and show it on my map.
3. Here I've done that for Apalachicola NF. You can see my zoom to and show feature work, but the 1 selected NF is not reflected in the query set up for selecting the buildings using the spatial query. I've waited for ten minutes, and it is still not showing as selected. If I apply the spatial query, it selects all the buildings in my layer and not just in the selected NF. I've tried reset and apply again... no joy! I also tried setting up my spatial filter to use the Result output from the National Forest selection... no joy!
4. If I use the "select by point" tool on the map, I can select the national forest, and every other layer, but the selection DOES show on the spatial query tool. What is going on? I want to be able to let the user select a NF by a query and then filter on that selection.
Thanks in advance!
Lara
If you want to try and recreate, go to the USFS Hub and pull data for national forest boundaries and buildings.
Hello,
@TianWen Also having this issue in EB within AGOL. It doesn't seem to honor the spatial aspect of the query once the user supplies the values.
It would be great if you could combine the 'Select by Location' aspect of the query but apply it to points that are within/intersect polygons that are queried from user submission, not necessarily from user clicks. I have disabled all popups and selections from underlying Township/Ranges so a click point solution will not suffice.
Just adding this comment for additional visibility and hopes of a resolution 🙂
Thanks!
I am experiencing the same issue with the Query widget in ArcGIS Enterprise 11.0.
What I have found out is that in order for the query widget to see the selected record on the map the "Choose the filter type" dropdown needs to fire some type of event (like "selection-changed", "onChange"..., for example).
If I have a selected record on the map and the dropdown already has the "Selecting features from a data source" selected, the buffer does not work.
If I open the dropdown and select another value ("-", for example) and then go to "Selecting features from data source", then the buffer functionality works and results are returned as expected.
But this switching between values of the dropdown has to happen every time the selection changes in order for the query widget to see the new selection.
I will contact ESRI Support after the weekend as it sounds like a bug.
I also need the intersect->filter functionality to filter survey footprints by selected taxlot so users can view a list of surveys that intersect a specific property.
Just to follow up with this issue.
I upgraded to ArcGIS Enterprise 11.1 and the spatial query is now working as expected. When records are selected, it shows in the query pane the number of record selected and then the correct results are returned.
Same issue here (on AGOL).... It's May 2023, ESRI telling us to move to ExB and simple things like this aren't working....neither are url parameters which is quite frustrating!