PROBLEM

The ArcGIS Web AppBuilder Search widget does not return results from ArcGIS Server map service layers

Last Published: November 23, 2021

Description

The Search widget in ArcGIS Web AppBuilder enables users to find locations or search features on the map using a geocoding service to display the searchable layers. In some instances, when entering a place name or keyword in the search box and clicking the suggested locations from the drop-down list, the following warning message is displayed:

Warning:   
No results. There were no results found for "<user-entered keyword>".
Image of the error message.

Cause

This is a known issue. The Search widget fails to find features when a feature service created from an SQL database view is set as the search source for the widget. Refer to BUG-000121482 for more information.

Solution or Workaround

As a workaround, change the maximum number of suggestions of the Search widget to 0.

Note:
This workaround only works for ArcGIS Web AppBuilder in ArcGIS Online and not in Portal for ArcGIS 10.7. 
In Portal for ArcGIS, this can only be done for versions 10.8 and later.
  1. When configuring the Web AppBuilder, on the Search widget, click the Configure this widget Image of the Configure this widget button. button.
  2. In the Configure Search window, enter 0 for Maximum suggestions.
configuring the widget in 10.7.1 shows an error
configuring the widget in 10.8.1 is successful
  1. Set other parameters as desired, and click OK to save the configurations.
  2. Click Save, and click Launch to launch the Web AppBuilder. The Search widget only shows the available results instead of suggestions when entering the keywords.
The Search widget results.

Article ID:000023011

Software:
  • ArcGIS Web AppBuilder

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options

Related Information

Discover more on this topic