Controlling row output with rules in Template Editor
Row rules are conditional expressions that determine exceptions in the output of a row.
By default, all rows of a template are output for each processed database object. The easiest way to control output is to use a row content type; in which case the row is output only if the processed object type and content type match. If this is not a sufficient condition, then you need row rules, for example, in the following cases:
You need to step over a row. For example, a summary row may be output only when all objects of a type have been processed and before starting to process different types of objects.
You need to step out from processing a database object and continue with the next object. This means that processing continues from the first row of the template (or from the rows higher in the hierarchy).
Template Editor sorts all rows according to value field sort settings before the rules are read. Remember to set sorting order for all value fields that you use in row rules. This way rows will be correctly sorted. You can hide unnecessary value fields from the output. Do that in the Value Field Properties dialog box.
You can create row rules in the Rule Wizard dialog box or the Rule Contents dialog box.
Find out more:
Creating and saving a template row rule
Creating a template row rule with Rule Wizard
Row rule content properties in Template Editor
Overriding template object colors with row rules in Template Editor