Working with conditional content

Use case

  • Authors can set conditions on a piece of content so they can control whether it is displayed in the output.

  • Authors can choose upon publication to show/hide different conditions.

  • For example, authors can add attributes as version 1.0 and version 2.0 in the content, and use conditions to include version 1.0 for release 1.0 and exclude version 2.0.

Step 1

Define conditions relevant to the documentation in Folder Profiles:
Refer to section Configure conditional attributes for global or folder-level profiles in Page 69 of the Installation and Configuration Guide

Configure Conditions in Folder Profiles

Step 2

Select the Folder Profile defined in Step 1 in User Preferences in XML Editor:
Refer to section User Preferences in Page 41 of User Guide

Step 3

Use the conditions to conditionalize sections of content :
Refer to section Conditions in Page 90 of User Guide

Use Conditions in Web Editor

Step 4

Define condition presets at map level to choose which conditions to enable in the output :
Refer to section Use condition presets in Page 249 of User Guide

recommendation-more-help
11125c99-e1a1-4369-b5d7-fb3098b9b178