IServices AssembleDocument Method
Assemble a document from the given template, answers and settings.

Namespace: HotDocs.Sdk.Server
Assembly: HotDocs.Sdk.Server (in HotDocs.Sdk.Server.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax

AssembleDocumentResult AssembleDocument(
	Template template,
	TextReader answers,
	AssembleDocumentSettings settings,
	string logRef
)

Parameters

template
Type: HotDocs.Sdk Template
An instance of the Template class.
answers
Type: OnlineSystem.IO TextReader
Either an XML answer string, or a string containing encoded interview answers as posted from a HotDocs browser interview.
settings
Type: HotDocs.Sdk AssembleDocumentSettings
An instance of the AssembleDocumentResult class.
logRef
Type: OnlineSystem String
A string identifying the current user or transcation, to be included in HotDocs log entries. This is necessary if you wish to track log entries back to specific users during analysis or troubleshooting.

Return Value

Type: AssembleDocumentResult
An AssemblyResult object containing all the files and data resulting from the request.
See Also