Boolean Toggle Widget

Overview

The Boolean Toggle widget toggle's a true/false facet when added to the left sidebar of a template.

This widget requires its field be set to a single boolean (true or false) field.

It will create a sidebar panel with a single checkbox.

Using the Boolean Toggle Widget

When checked, only documents with that boolean field set to true will be shown in the search results.


Configuration

Widget Instance Example

When checked, this widget instance will filter the search for records that are on hold.

  • Name: Toggle Holds

  • Widget Definition Id: BooleanToggleWidget

  • Field: onHold

  • Label: Show Held Content


Preview

Here is an example of the widget that checks for the onHold flag.