Return to main navigation Page
Conditions can be placed on Layouts and Elements so that the content will only appear in the output if a logic statement evaluates to true.
Conditions can be placed on the following components:
To add a Condition to an applicable component:
Click the Condition button () in the Dynamic Content Bar.
The Condition window appears.
Begin typing the Condition. As you type, a combination of literal values, operators, User Attributes, and Main Document Attributes will be suggested. When the desired component is suggested in the list, click it to add it to the Condition.
Continuing adding components to the Condition until the expression is logically complete.
In this example, the component that has the Condition applied to it will only show in the output if the value of the Main Document Total attribute is greater than or equal to $10,000.
When evaluating a Boolean attribute
in the Condition Editor, the equal (=) symbol only compares one
attribute to another, such as Bool1 = Bool2.
To evaluate if Bool1 is true, put
Bool1. To evaluate if Bool1 does not equal true, use
Click OK to save the Condition.
A Condition icon is added to the component in the Template Flow.
Sub Document Attributes can be used in a Condition if the Condition is on an Element that is within a Loop.