HotDocs.Server.Application Class

The Application object, representing the HotDocs Server application itself, exposes core HotDocs Server features in a more stateless fashion.

Namespace: HotDocs.Server
Assembly: HotDocs.Server in HotDocs.Server.dll

This class implements the following interfaces:

  • IDisposable: The class can be disposed.

Methods

Method Description
Application This constructor initializes a new instance of the Application class.
AssembleDocument Assemble a document from a template.
BuildSupportFiles Build the support files needed for a template interview.
Dispose This method is an implementation of the IDisposable.Dispose method that releases unmanaged resources held by an instance of the Application class.
GetInterview Get an interview for a template.
GetInterviewDefinitionFromState Get an interview definition for a template using a state string.
GetInterviewDefinitionFromTemplate Get an interview definition for a template using a template path
GetInterviewVersion

Deprecated. Get the version number assigned by HotDocs to an interview definition.

JoinDocumentFiles This method can be used for joining two or more files by appending multiple documents to another.
RemoveSupportFiles Remove the files on the server needed for the template interview.

Properties

Property Description
HasUnansweredVariables This property is non-zero (true) if the Application.UnansweredVariablesList collection is not empty.
PendingAssemblyCmdLineStrings The list of pending assemblies generated from the last call to Application.AssembledDocument.
UnansweredVariablesList This property is a collection of variable names, and corresponds to Application.MarkedVariables in the COM API.