Template Class |
Encapsulates information about a template to be used in an HDCS operation.
Inheritance Hierarchy
HotDocs.Cloud.ClientTemplate
Namespace: HotDocs.Cloud.Client
Assembly: HotDocs.Cloud.Client (in HotDocs.Cloud.Client.dll) Version: 1.0.5652.20312
Syntax
The Template type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() | Template |
Default constructor
|
![]() | Template(String, String, PackageSource, Boolean) |
Constructor that takes a PackageSource
|
![]() | Template(String, String, String, Boolean) |
Constructor that takes a file path
|
![]() | Template(String, String, Stream, Boolean, Boolean) |
Constructor that takes a Stream
|
Properties
Name | Description | |
---|---|---|
![]() | ForceUploadPackage |
A value that indicates if the package will be uploaded without first checking to see if it is needed.
Set this value to true sparingly; if it is true and the package was not needed after all, HotDocs Cloud Services will return an exception.
|
![]() | PackageID |
A unique identifier for the template package in which the desired template is found.
Although you could use any string value that uniquely identifies the package,
a GUID is recommended since every template package (including new versions of existing template packages)
must have a unique ID. (If you create a new package but use the same ID as an existing package,
HotDocs Cloud Services may continue using the old package if it is still in its cache.)
|
![]() | PackageSource |
The template package to be used with the request.
If the package does not already exist in the HotDocs Cloud Services cache, it will be uploaded to the service.
|
![]() | TemplateID |
The file name of the template within the specified package. If this parameter is an empty string, HotDocs Cloud Services will use the package's main template.
|
See Also