Kentico: Configuring Hawksearch search box widget
In this article you’ll find:
Goal
The purpose of this article is to show you how to work with the Hawksearch search box widget.
Prerequisites
Configured Kentico connector - https://bridgeline.atlassian.net/wiki/spaces/CON/pages/3468465404
Created Index mappings - https://bridgeline.atlassian.net/wiki/spaces/CON/pages/3468461011
Enabled page builder functionality - https://docs.xperience.io/developing-websites/page-builder-development
Steps to configure the widget
Once you have set up a page builder supported page, click add widget and click Hawksearch search box.
Hover over the widget and click the settings cogwheel to bring up the widget properties.
Template - You can choose which widget template this widget uses.
Index - You can choose which index this search box widget will use from the dropdown menu. Here you can see the previously created index mapping display names.
Use permission filtering - Whether the widget uses permission filtering. If enabled, the widget will add the current user’s role ids to be checked against the permissions field on the previously indexed documents when sending autocomplete requests.
Search page - Via the page selector, navigate to the page you wish to be redirected to when you search. If left empty, the search box will use the same page to display the search results (if the Hawksearch search results widget is also present on the page).
Track search event - If selected, widget will send search event tracking updates to Hawksearch.
Track autocomplete click event - If selected, widget will send autocomplete click event tracking updates to Hawksearch.