/
Configuring Hawksearch box widget

Configuring Hawksearch box widget

In this article you will find:

Goal

This document provides information for configuring the ‘Hawksearch box’ widget.

Prerequisite

Configured Sitefinity connector - Connector: Activation

Created V4 Index -Managing V4 Indexes

Or

Created V4L Index - Managing V4L Indexes

Set search results page

  1. Navigate to a Sitefinity page on which you have placed a ‘Hawksearch box’ widget

  2. Open the widget designer

    1. From “Where to display search results“ select a search results page (page with ‘Hawksearch results’ widget)

    2. Select a Search Index

  3. Publish the page

Configuring the search field

This feature is only available for the Vue SDK

  1. Navigate to a Sitefinity page on which you have placed a ‘Hawksearch box’ widget

  2. Open the widget designer

  3. Go to the Advanced section

    1. Input the search box configuration settings in the Data field.

      {"_searchBoxConfig":{"reloadOnEmpty":false,"redirectOnEmpty":false,"redirectToCurrentPage":false}}

       

The configuration fields have the following usage:

  1. reloadOnEmpty - Refresh the search results with an empty keyword, but keeps all other facet selections. This is available if a results widget is dropped on the same page.

  2. redirectOnEmpty - Redirects to the results page even if the search field doesn’t have a keyword

  3. redirectToCurrentPage - If the set redirect page is the current one, forces the page to reload

  1. Click Save

  2. Publish the page

 

Configure the suggestion item

  1. Navigate to a Sitefinity page on which you have placed a ‘Hawksearch box’ widget

  2. Open the widget designer

    1. Go to the Advanced section

      1. Input the configuration settings in the Data field.

        {"_suggestionItem":{"linkField":"link","titleField":"title"}}
  1. Click Save

  2. Publish the page

 

Related content

Configuring Hawksearch results widget
Configuring Hawksearch results widget
More like this
Search Box Config
Search Box Config
More like this
Enable Vue.js for Hawksearch box widget
Enable Vue.js for Hawksearch box widget
More like this
Enable Vue.js for Hawksearch results widget
Enable Vue.js for Hawksearch results widget
More like this
Migrating the widget templates from version x.xxxx.x.34 or earlier to version x.xxxx.x.35 and above of the Connector
Migrating the widget templates from version x.xxxx.x.34 or earlier to version x.xxxx.x.35 and above of the Connector
More like this
10.2.6600.28 / 11.0.6700.28 / 12.0.7000.28 / 12.2.7200.28 / 13.0.7300.28 / 13.1.7400.28
10.2.6600.28 / 11.0.6700.28 / 12.0.7000.28 / 12.2.7200.28 / 13.0.7300.28 / 13.1.7400.28
More like this