Key Template

KeyTemplate is a calculated property that allows to start a new numbering of the objects for each unique value. KeyTemplate supports the Xafari Object Formatter syntax. Usually, the calculations depend on the current object (context). The Numerators service divide all objects into disjoint groups based on the KeyTemplate unique values, so each group has its own separate numbering.

For instance, KeyTemplateNumerator is linked to the Position objects. The Key Template property is "{0:Document.Name, 0000}"; this formula returns the Name of the Document referenced object.

numerator_29

This means that there are as many unique KeyTemplate values as there are different Document objects. Accordingly, all Position objects relating to the same Document have their own separate numbering.

numerator_32