2018.2

Table Of Contents
Template
Note
The variables ${template}, ${template.base} and ${template.name} are only
available when printing directly from Designer.
${template}
${template} is a shorthand for ${template.base}_
${template.nr,0000}.${template.ext}.
It expands to a name based on the template name. A four digit
sequence number is added at the end of the base name. The file
extension is determined by the selected output format.
The 0000 in ${template.nr,0000} is a format pattern that takes care
of formatting the number with at least four digits and leading zero's.
See "Formatting date and number values " on page1223, below.
Example
If the template file is C:\Data\My-Invoices-EN.OL-template which
gets printed to PDF, then ${template} expands to My-Invoices-EN_
0001.pdf.
${template.base}
Returns the base name of the template, which is the name of the
template file without its path and without the trailing file extension.
Example
If the template file is C:\Data\My-Invoices-EN.OL-template, then
${template.base} expands to My-Invoices-EN .
${template.name}
Returns the name of the template file without the path.
Example
If the template file is C:\Data\My-Invoices-EN.OL-template, then
${template.name} expands to My-Invoices-EN.OL-template.
Note that ${template.name} still includes the extension of the
template file (.OL-template in the example above).
Page 1216