Conditional blocks in Content Tool

Wrap text, tables, or sections in Word with conditional rules using Insert conditional block in Kameleon Content Tool so content is included only when a metadata field matches a condition.

Prerequisites

  • Available in Word when the active template has metafields configured.

  • Select content that is not already inside an existing Word content control.

Insert a conditional block

  1. Open a Word document template in Content Tool and select the content you want to show conditionally.

  2. Select Insert conditional block in the task pane.

  3. Choose the target Metafield, select an operator (Equal == or Not equal !=), and enter or pick the comparison value (combobox fields automatically load list options).

  4. Select Insert. Content Tool wraps your selection in a Word content control tagged with Liquid syntax (if: <fieldname> <operator> <value>).

  5. Select Save to portal when finished.

See also