Configure contextual search

Use contextual search to limit search results for an instance of the typeahead search widget.

With contextual search enabled, users only see typeahead results for specific search sources. For example, searching on the Service Catalog page only shows results from the Service Catalog search source when contextual search is enabled.

  1. In the Service Portal Designer (Service Portal > Service Portal Configuration > Service Portal Designer, find an instance of the typeahead search widget.
  2. Point to the widget and click the edit icon (Edit icon from a widget in the Service Portal Designer).

    Alternatively, in any preview page containing the typeahead search widget, for example the Service Catalog homepage, control + right-click to open the widget context menu. Then click Instance Options.

  3. In the Contextual Search Sources field, select search sources from the list.

    Search sources listed for contextual search can be limited to just one, several, or all search sources.

Default search sources are defined in the glide.service_portal.default_search_sources property, so even if you don't have search sources configured, typeahead search widget still shows typeahead suggestions. For more information on default search sources, see Set the default portal search source.