Creating a dynamic column

Prev Next

With a dynamic column you can specify whether a column should be displayed in the generated document. This is useful to hide columns under certain conditions. For example, if you want to generate a table of participants and want to hide the feedback column if no participant has provided feedback.

Participants overview with empty feedback column

Participants overview with empty feedback column

Steps

  1. Open your Word template.

  2. Create the desired table and insert the desired data fields into the first row.

  3. Select the header of the desired column.

  4. Select dox42 > Dynamic Column.

  5. Enter a condition to specify when the column should be displayed:
    In our example we want to show the column only if the feedback column is not empty.

    1. Choose the data field which is required for the condition.
      Example: Participants.Feedback

    2. Select an operator from the Insert Operator dropdown.
      Example: <>

      If more than one condition is needed, it is possible to combine the condition with the operators from Insert Logic Operator dropdown.

    3. Enter the desired value for the condition.
      Example: An empty string ””
      Dynamic table column condition settings for participant feedback column

  6. Select Insert.
    The column header contains the green icon for dynamic columns.
    Overview table with dynamic feedback column

  7. Save the document template.

Result

You have created an dynamic column. When you generate the document, the column will be hidden if no participant has provided feedback.

Overview of participants, their training, and success levels in dox42 courses.

Participants overview with hidden feedback column