The InterviewSettings type exposes the following members.
Back to Top
Back to Top
Back to Top
Constructors
Name | Description | |
---|---|---|
![]() | InterviewSettings |
Contruct an InterviewSettings object with the default settings.
Four parameters are required for any HotDocs Server interview request. The default (parameterless) constructor
REQUIRES that these four parameters have values that can be found in the host application's web.config file.
If any required value is not found there, the constructor will throw an exception.
|
![]() | InterviewSettings(String, String, String, String) |
This constructor accepts values for the four "required" interview settings. HotDocs Server is unable to generate
a functional browser-based interview without meaningful values for these five parameters.
|
Methods
Name | Description | |
---|---|---|
![]() | ![]() | (Inherited from ![]() |
![]() | ![]() | Serves as a hash function for a particular type. (Inherited from ![]() |
![]() | ![]() | Gets the (Inherited from ![]() ![]() |
![]() | ![]() | Returns a string that represents the current object. (Inherited from ![]() |
Properties
Name | Description | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
![]() | AddHdMainDiv |
Whether HotDocs should include in the returned HTML fragment an HTML DIV with its id set to "hdMainDiv".
When a browser interview initializes, the interview is created dynamically inside this placeholder DIV.
Your host application can choose to include that DIV within the host page itself (in which case you
would set AddHdMainDiv to false), but by default AddHdMainDiv is set to true, meaning that HotDocs will
include this placeholder DIV in the interview HTML fragment.
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
![]() | AnswerFileDataServiceUrl |
The URL of an OData data service to which requests for HotDocs answer file-based answer sources will be sent.
Defaults to null (which disables the ability of browser interviews to request answer file-based answer sources).
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
![]() | AnswerSummary |
Settings that determine the formatting of Answer Summaries generated in the browser interview.
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
![]() | CustomDataSources |
A collection of custom answer sources. The dictionary Key is the name of a custom data source;
the Value is the Url of the OData data service that will return the desired data. Defaults to an empty dictionary.
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
![]() ![]() | Default |
Returns the default parameters defined
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
![]() | DefaultDateFormat |
The default format example used when merging date values into text where no explicit or default format
example has been specified.
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
![]() | DefaultUnansweredFormat |
This specifies what text will be merged when no answer has been provided for the requested variable.
The choices are
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
![]() | DisableAnswerSummary |
HotDocs interviews normally allow users to request answer summaries from the interview toolbar.
This property can remove the answer summary button from the toolbar. By default the property
inherits the default value configured on the server.
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
![]() | DisableDocumentPreview |
Specifies that the Document Preview button should not appear on the interview toolbar, independent of whether
a DocumentPreviewUrl has been specified or not. By default it respects the default behavior as configured
on the server.
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
![]() | DisableSaveAnswers |
Specifies that the Save Answers button should not appear on the interview toolbar, independent of whether
a SaveAnswersUrl has been specified or not. Defaults to False.
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
![]() | DocumentPreviewUrl |
The URL to which answers will be posted when a browser interview requests an HTML document preview.
The HTTP response returned by that POST will be displayed to user as the preview.
If not specified, this property defaults to null (which omits the document preview feature). | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
![]() | Format |
Dictates whether the returned interview will use the JavaScript runtime or the Silverlight runtime.
The default behavior is "Default", which leaves the choice up to the HotDocs Server from which you
request the interview.
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
![]() | HonorCmpUnansweredFormat |
Whether or not the Unanswered Variable Placeholder specified by a template author (in Component
File Properties) is allowed to override the DefaultUnansweredFormat as configured on the server
or set in the SDK.
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
![]() | InterviewFilesUrl |
The base URL from which the interview will request interview definitions and dialog element images.
For JavaScript interviews, interview definitions are JavaScript files; for Silverlight interviews, interview
definitions are compiled DLLs. HotDocs generates these interview definitions, but a host application must
deliver them from the host application's own domain name.
A value for this property is required by the SDK. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
![]() | InterviewRuntimeUrl |
The base Url from which HotDocs interview runtime files (including hdloader.js and other JavaScript
files and/or Silverlight DLLs) will be fetched.
To avoid security errors or the need for cross-domain policy files, the host application should
serve these files itself (from its own domain name).
A value for this property is required by the SDK. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
![]() | Locale |
The name of a HotDocs "Browser Language Module" that dictates locale-specific behavior and language
for a HotDocs interview.
If this property is null, US English ("en-US") behavior is assumed by default.
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
![]() | MarkedVariables |
List of marked variables
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
![]() | NextFollowsOutline |
Determines the order in which end users will progress through a browser interview when they click
the Next and Previous navigation buttons.
By default it defers to the behavior as configured on the server.
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
![]() | PostInterviewUrl |
The url to which finished interview answers will be posted.
The page residing at this url is sometimes traditionally referred to as the "disposition page" -- since it is
most often used to inform the user about the disposition (outcome) of the data they submitted.
A value for this property is required by the SDK. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
![]() | RoundTripUnusedAnswers |
Whether the generated interview will include (and round-trip) the entire answer collection provided
to the GetInterview call, or only those answers needed by the interview. Equivalent to the
"StatelessInterview" property on the HotDocs Server API.
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
![]() | SaveAnswersUrl |
The URL to which answers will be posted when user clicks the Save Answers button in the browser interview.
The HTTP response returned to the browser will be displayed to user.
If no value is specified, this property defaults to null (which omits the Save Answers feature). | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
![]() | Settings |
Collection of settings that can be specified when requesting a HotDocs interview.
Values may be provided for the following settings:
When you do not explicitly provide values for any setting, the default values specified in the HotDocs Core Services Administrative Portal will be used. TODO: document the %%VERSION% macro for the URL settings TODO: document which URL settings above will be called with specific parameters on the query string. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
![]() | ShowAllResourceButtons |
HotDocs interviews display a resource button next to input fields for which the template author has provided
additional resource information. This setting determines whether resource buttons will be visible simultaneously for all such
input fields, or whether resource buttons should appear only for the current-focused input field.
By default it honors the behavior configured on the server.
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
![]() | StyleSheetUrl |
The base Url from which interview style sheets and graphics will be requested by the web browser.
A value for this property is required by the SDK. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
![]() | ThemeName |
The base file name of requested style sheet and sprite image; defaults to "hdsuser"
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
![]() | Title |
The title to be displayed at the left side of the browser interview's title/toolbar.
If this property is null, HotDocs will use the built-in title of the template.
|
See Also