IServices GetInterviewFile Method
Retrieves a file required by the interview. This could be either an interview definition that contains the variables and logic required to display an interview (questionaire) for the main template or one of its inserted templates, or it could be an image file displayed on a dialog within the interview.

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

Stream GetInterviewFile(
	Template template,
	string fileName,
	string fileType
)

Parameters

template
Type: HotDocs.Sdk Template
The template related to the requested file.
fileName
Type: OnlineSystem String
The file name of the image, or the file name of the template for which the interview definition is being requested. In either case, this value is passed as "template" on the query string by the browser interview.
fileType
Type: OnlineSystem String
The type of file being requested: img (image file), js (JavaScript interview definition), or dll (Silverlight interview definition).

Return Value

Type: OnlineStream
A stream containing the requested interview file, to be returned to the caller.
See Also