Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Overview

Both front end libraries are loaded for their dedicated widgets. Which one is currently in use depends on the used template markup. Since the widget template include all the required structures, selecting the library is only a matter of editing the template file.

Goal

This document provides information on managing the front-end libraries in the connector.

Prerequisite

Info

Configured Hawksearch box or results widget.

https://hawksearch.atlassian.net/wiki/spaces/CON/pages/605618600/Configuring%2BHawksearch%2Bbox%2BWidget

Configuring 'Hawksearch results' Widget

Steps for switching between the libraries

  1. Find the selected widget template for either the box or the results widget. Initially - the one named Default.cshtml

  2. Both template structures should be included in the file, but one of them will be commented and the other - not. Comment the one you do not need and uncomment the desired one.

  3. Save, re-build and refresh the page.

Info

The dedicated structures are pretty separate, but if you have any doubts see these:

Setup Hawksearch results with Vue.js

Setup Hawksearch box with Vue.js