Add labels to pages automatically

Add labels to pages automatically

Overview

Create a dropdown list with labels for a user to select and apply to the page.

Ingredients

App

Scaffolding

Macros

Label Options, List Data

Guide

  1. Create a table with one column and two rows as follows:

  2. Insert a List Data macro inside the table.

    1. Set the Field Name parameter to topics.

    2. Select the Allow Multiple check box.

  1. Insert a Label Options macro inside the List Data macro.

  1. Add one or more labels to the Name field in the Edit 'Label Option' Macro window.

These are the multiple labels that you want to appear as a list. In this example, we have used the words Scaffolding, Tutorial, FAQ, Reference, Guide as labels.

  1. Click Edit Contents and select which labels you want to apply to the page.

To select multiple labels, press Ctrl as you click.  

Notes

To make the best use of this feature, use it with Live Template.

Result