_Template

The _Template Field Set is automatically created in any Master Template. This Field Set contains fields representing the Document Template properties defined for the current Master Template.

A metadata XML file can only be generated for Document Template runs that do not have OutputMode set to "pack".

The following command retrieves the Category property from the Master Template.

TEXT category := _Template.Category 

The _Template Field Set is read only. If the property does not exist, the value of the Field is an empty text.

The contents of the _Template Field Set are written in the <Template> section in the metadata XML file. A typical section is shown here.


<ccm:Template> 
		<ccm:label name="Wizard">A Content Wizard</ccm:label> 
		<ccm:label name="Category">Letter</ccm:label> 
</ccm:Template> 

KCM Core scripts can access the contents through the template_property() function.

_Template is a reserved name. You cannot declare any object with this name.