Template Constructor (String, String, String, Boolean) |
Constructor that takes a file path
Namespace: HotDocs.Cloud.Client
Assembly: HotDocs.Cloud.Client (in HotDocs.Cloud.Client.dll) Version: 1.0.5652.20312
Syntax
public Template( string packageID, string templateID, string packageFilePath, bool forceUploadPackage = false )
Parameters
- packageID
- Type: SystemString
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.) - templateID
- Type: SystemString
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. - packageFilePath
- Type: SystemString
A file path for the template package in case it needs to be uploaded. - forceUploadPackage (Optional)
- Type: SystemBoolean
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.
See Also