How to have Search Widget return multiple results?

766
1
10-01-2018 12:04 PM
TomasL44
New Contributor III

Hello,

I am using WAB's Search widget to search for features throughout a campus.  One feature is equipment within buildings.  I would like to allow a user to either search using the equipment ID or, if they dont know the ID, search for all equipment features within a building.  I have an attribute for the ID and another for which building the equipment is in.  How do I provide the ability to return multiple records if the user searches for all equipment within a building?

Thanks for any help or ideas.

Tags (2)
0 Kudos
1 Reply
JasonHine
Esri Contributor

Hi Tomas,

When the Search widget is configured to return multiple results (see Step 4g in this doc page: Search widget—Web AppBuilder for ArcGIS | ArcGIS ), the results appear as a list below the Search input box (same place the suggestions appear). The results list is highlighted here with a red box:

You can click a result in that list to see it highlighted on the map in cyan.

If what you want is to select and highlight multiple features by attribute, try the Query widget:

Query widget—Web AppBuilder for ArcGIS | ArcGIS