Show/Hide Toolbars

The compare attribute of tc:conditional can also be used to check whether an instance of a certain type of sub-object exists. If the type of sub-object that you specify in the tag has been added to the record, then the condition is found to be true, and the content nested within the tc:conditional tag is generated.

You can use the compare attribute to check any sub-object that has a Type object attribute. For example, Address, Assignee, Phone, and Email all have a Type.

Example:

<tc:conditional compare="System[Assignee],Adjuster">Please contact your claim adjuster for more information.</tc:conditional>

In this example, if the Assignee List in the record contains an assignee of the type Adjuster, then the text inside the tc:conditional tag is generated. Adjuster is an example of the type of assignee.