TemplateRelevance Function

TemplateRelevance Function

Relevance:
Variable occurrences within this function do not contribute towards the overall relevance of those variables.
Consequently, such variables must occur in at least one other context for them to be considered relevant.
Description:
Equivalent to the relevance expression for the referenced template.
The relevance expression takes into account the repeat context, if any, where this function occurs.
Returns true if the referenced template is definitely relevant in the current repeat context.
Returns false if the referenced template is definitely irrelevant in the current repeat context.
Otherwise this function does not evaluate.
Returns:
Boolean
Parameter:
Parameter
Data Type
Description
1
Any
The template name.
Example:
When using functions inside a field, remember the field brackets: {TemplateRelevance(TemplateId)}
Expression
Result
TemplateRelevance( 'Non Disclosure Agreement' )
No
TemplateRelevance( 'My Template' )
Yes