English

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

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.

Related Information

Last Published: 11/22/2021

Article ID: 000023011

Software: ArcGIS Web AppBuilder 2.9, 2.8, 2.7, 2.6, 2.5, 2.4, 2.3, 2.22, 2.21, 2.20, 2.2, 2.19, 2.18, 2.17, 2.16, 2.15, 2.14, 2.13, 2.12, 2.11, 2.10, 2.1, 2.0