Configure result templates

The Search results display panel of the Coveo Insight Panel Builder lets you create result templates, configure display options, as well as enable result actions and tags.

insight panel builder

Specifically, it offers the following capabilities:

Add result templates

  1. Access the Insight Panel Builder.

  2. Click Search results display.

  3. In the Result templates section, click Add template.

  4. In the Name field, enter a name to recognize and edit your template later.

  5. Under Usage, click Add condition to determine when to use this result template.

    Notes
    • A minimum of one condition is required.

    • For each query result, the Hosted Insight Panel evaluates the condition(s) to determine which result template to use.

    1. In the Select a field dropdown menu, select the desired field (for example, source).

    2. In the Select a condition dropdown menu, select the desired operator (for example, Must match).

    3. In the Values field, specify at least one value (for example, YouTube). Use a comma-separated list to specify multiple values.

    4. Click Done to apply your changes.

  6. Under Colored badge, set the following options:

    1. Click On or Off to enable or disable badges, respectively.

    2. Select a field to display as a colored badge at the top of your result template. This visual cue helps users quickly recognize a result type such as a document or a video.

      For example:

      badge
      Tip
      Tip

      Start typing a Coveo field name in the dropdown menu to filter by name, and then select the desired field.

    3. Select a color for your badge.

  7. Under Additional information, click Add details.

    1. Select a field to display the related metadata value at the bottom of your result template.

      For example:

      metadata
      Tip
      Tip

      Start typing a Coveo field name in the dropdown menu to filter by name, and then select the desired field.

    2. (Optional) To include a label for the selected field, select the Include label checkbox. You can enter a custom label name or keep the default field name.

      Note

      Clear the Include label checkbox if you don’t want to include a label for the field.

    3. Click Done to apply your changes.

    4. Repeat this step to display additional details (for example, author, type, and duration).

  8. Click Save to save your result template.

  9. Click Done to return to the Search results display panel.

Edit result templates

  1. Access the Insight Panel Builder.

  2. Click Search results display.

  3. In the Result templates section, click the card of the result template you want to edit.

  4. Modify the settings in the following sections, as appropriate:

  5. Click Save to save your changes.

Delete result templates

  1. Access the Insight Panel Builder.

  2. Click Search results display.

  3. In the Result templates section, click the result template you want to delete.

  4. Click Delete.

  5. Click Delete again to confirm the action.

  6. Click Save.

Reorder result templates

  1. Access the Insight Panel Builder.

  2. Click Search results display.

  3. In the Result templates section, click move on the template card to drag and drop it in the desired order.

    Notes
    • The Default template can’t be reordered.

    • Result templates are evaluated in the order they appear in the list. This means that if a query result meets the conditions found in multiple templates, the Hosted Insight Panel will render the result using the first applicable template in the list.

  4. Click Save to apply your changes.

Enable or disable result actions

Note

The result actions that appear in the Builder preview are inactive. They can only be leveraged in your CRM system (see About result actions).

  1. Access the Insight Panel Builder.

  2. Click Search results display.

  3. To enable or disable the Attach to case, Copy to clipboard, Post to feed, Quick view, or Send as email result actions, select or clear the corresponding checkbox under Result actions.

Enable or disable tags

Enabling or disabling a tag applies to all result templates (that is, existing and newly created ones). Tags can’t be set only for specific result templates.

Note

The Recommended, Featured, and Viewed by customer tags are disabled by default.

  1. Access the Insight Panel Builder.

  2. Click Search results display.

  3. To enable or disable a tag, select or clear the corresponding checkbox under Tags.