Template Properties
The Template type exposes the following members.
Properties

  NameDescription
Public propertyFileName
The file name (including extension) of the template. No path information is included.
Public propertyGeneratesDocument
Based on TemplateType, tells the host app whether this type of template generates a document or not (although regardless, ALL template types need to be assembled in order to participate in assembly queues)
Public propertyHasInterview
Parses command-line switches to inform the host app whether or not an interview should be displayed for this template.
Public propertyKey
A key identifying the template. When using a template management scheme where the template file itself is temporary (such as with a DMS) set this key to help HotDocs Server to keep track of which server files are for which template. If not empty, this key is also used internally by HotDocs Server for caching purposes.
Public propertyLocation
Defines the location of the template.
Public propertyNativeDocumentType
Based on the template file extension, get the document type native to the template type.
Public propertySwitches
Command line switches that may be applicable when assembling the template, as provided to the ASSEMBLE instruction.
Public propertyTemplateType
If the host app wants to know, this property does what's necessary to tell you the type of template you're dealing with.
Public propertyTitle
The template title, which comes from the template's manifest file by default.
Back to Top
See Also