The intent with DefaultInterviewOptions was to work much like DefaultAssemblyOptions. When you create
a WorkSession, a copy of the application-wide default interview settings (as specified in web.config) is
made and assigned to this property of the AnswerCollection. If the host app customizes these
DefaultInterviewOptions, each subsequent interview in the WorkSession will inherit those customized
settings. HOWEVER, this doesn't work currently because InterviewWorkItems do not carry a reference
to the WorkSession, and therefore don't have access to this property. TODO: figure out how this should work.
One possibility would be for the WorkSession class to expose the GetInterview method (and maybe also
FinishInterview) rather than having those on the InterviewWorkItem class. However, this would mean
WorkSession would expose a GetInterview method all the time, but it is only callable some of the time
(i.e. when the CurrentWorkItem is an interview).
Namespace: HotDocs.Sdk.ServerAssembly: HotDocs.Sdk.Server (in HotDocs.Sdk.Server.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
Property Value
Type: InterviewSettingsSee Also