Select to view content in your preferred language

Query Widget will not filter using geometries from map

267
3
01-30-2026 02:34 PM
shildebrand
Frequent Contributor

I have a map image layer in a webmap being used in an experience builder app on agol and enterprise 11.5.  When I use the query widget to filter and return results in the agol app, I get results.  When I use the same exact image layer in an experience builder app in enterprise, I get no results.  Both webmaps in either environment have popups enabled on the layer.  Do we need to use a feature service instead of a map service?  If so, why does a map service work in agol?

shildebrand_0-1769812076016.png

 

0 Kudos
3 Replies
VenkataKondepati
Frequent Contributor

As per the documentation, you need to use feature services or enable features on map service to use it in Query Widget.

Query widget—ArcGIS Experience Builder | Documentation

  • Data—Select the data you want to query. You can only select one data source per query. Feature layers, feature layers in selected web maps and web scenes, data views, output data sources, and feature service URLs are supported.




Regards,
Venkat
Book a meeting with me:Get on a Call
Follow me on: LinkedIn
0 Kudos
shildebrand
Frequent Contributor

Ok yeah so this tool only works with feature services and not map services.  It appears that you can use map services for this tool in the agol version of experience builder.  My webmap in agol is referencing map services and the query tool works as expected.  Maybe esri should update their documentation for the agol version of the widget?

0 Kudos
shildebrand
Frequent Contributor

Update..........This is a bug fixed in Enterprise version 12.  Unfortunately we are in the process of migrating from 10.9.1 (where this tool works) to 11.5.  We will not be migrating to a later version for several years.  A possible workaround for this is to use the "Near Me" widget, which will produce results from geometry in a similar fashion to the query widget.  

https://support.esri.com/en-us/bug/in-arcgis-enterprise-experience-builder-the-spatial-fil-bug-00017...

 

0 Kudos