template_property (k)

The template_property(k) function retrieves the template property that has been set by the last template for the key k. Template properties are set on Document Templates in KCM Designer. Template properties are available to the template as Fields in the _Template Field Set. These values are read-only.

If no template has previously been run or if the last template did not set a value for the key k, the template_property(k) function returns an empty string.

The template_property data is part of the session data and persists over jobs until the next template is run.