Select to view content in your preferred language

Search Widget Actions that can pull other layers that intersect

132
2
Thursday
Labels (1)
Zach-Williams
Emerging Contributor

Hi there,

I have added a layer source to my search widget. It is a parcel layer. I also have other polygon layers that fall on top of those (layer is a overlay zoning district, i.e. central city overlay, scenic corridor overlay, historic preservation overlay, etc) 

Is there a way that when you search a parcel and select it, that it can select those other polygon layers based on intersecting that other polygon layer? It sounds like the query widget, but if I have a query widget, I would want it to automatically a query to said other polygon layers that would intersect with the parcel I searched and selected, so users wouldn't have another step. 

0 Kudos
2 Replies
JeffreyThompson2
MVP Frequent Contributor

https://community.esri.com/t5/experience-builder-tips-and-tricks/zone-lookup-in-experience-builder-a...

This build can be used to find intersecting polygons from a Search Widget. They won't be selected, but they can be aggregated into a Feature Info Widget that can be flipped through and set to select the polygons.

GIS Developer
City of Arlington, Texas
0 Kudos
DanielFox1
Esri Regular Contributor

Hi @Zach-Williams 

Can you try this workflow 

1. Search Widget Configuration

• Add your parcel layer as a layer source in the Search Widget.
• Enable Record Selection Changes under Actions.
• Set the action to trigger a Query Widget or Filter Widget.

2. Query Widget Setup

• Configure the Query Widget to target your overlay layers.
• Use the spatial relationship setting: Intersects or Contains.
• Set the trigger source to be the Search Widget’s selected parcel.

3. Automate the Interaction

• In the Action Framework, link the Search Widget’s selection to the Query Widget:
• Trigger: Record Selection Changes
• Action: Query Data Records
• Data Source: Overlay layers
• Spatial Relationship: Intersects
• Optionally, configure the Query Widget to auto-run when triggered.

4. Display Results

• Use a List, Table, or Map Widget to show the results of the intersecting overlays.
• Connect these display widgets to the output of the Query Widget.

I hope this helps in some way. 

0 Kudos