Author > Customizing UNICOM Intelligence Author > Options dialog box > Options dialog box: Preview tab
 
Options dialog box: Preview tab
Use the Preview tab of the Options dialog box to set defaults for previewing interviews in UNICOM Intelligence Author. By default, interviews are previewed using Internet Explorer.
Preview
Use embedded Microsoft Internet Explorer. This is the default option. Interview previews will be embedded in the Interview Preview window using Internet Explorer.
Note When using Microsoft Internet Explorer 9 (or greater), you must manually update the default template:
1 Open this file in a text editor (for example, Microsoft Notepad):
%ProgramData%\IBM\SPSS\DataCollection\<version>\Author\Library\Templates\DefaultLayout.htm
2 Change:
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
to
<meta http-equiv="X-UA-Compatible" content="IE=8" />
Use alternate browser
Select this option to preview interviews in an different internet browser. Click Browse and select the .exe program to use. This option is only valid for Web previews.
Note When using an alternate browser, such as Firefox 10 or above, you may encounter issues with displayed images. The alternate browser may block the images (local files) from displaying when previewing the interview. You can resolve this issue by changing the browser's security settings. For example:
user_pref("capability.policy.localfilelinks.checkloaduri.enabled", "allAccess");
user_pref("capability.policy.localfilelinks.sites", "http://localhost:15230");
user_pref("capability.policy.policynames", "localfilelinks");
user_pref("security.fileuri.strict_origin_policy", false);
http://localhost:15230 is the preview interview URL. Do not include a forward slash character "/" at end of the URL.
Use the following settings with Microsoft Internet Explorer 9 or above:
Set the Compatibility view mode to Internet Explorer 8 (Tools > Compatibility View settings), and select the Display all websites in Compatibility viewoption.
Open the Internet Options dialog, switch to theSecurity tab, and add the preview interview URL (for example,http://localhost:15230) to the Trusted sites.
Note For more information, see the “Links to local pages do not work” article:
http://kb.mozillazine.org/Links_to_local_pages_don%27t_work
For more information, see Previewing questionnaires.
HTML Options
No expiry meta tags
When selected, the following expiry meta tags are excluded from the HTML output:
<meta http-equiv="Expires" content="-1"/>
<meta http-equiv="Pragma" content="no-cache"/>
Web TV support
When selected, the rendered HTML is compatible with WebTV browsers.
No auto jump
When selected, automatic jumps to the next question are suppressed when a single-choice answer is selected (the user must select an answer and then press Enter).
Use predefined keycodes
When selected, predefined keycodes are used for CATI Player questions.
Use tables layout
When selected, table layout is used for single row/column categorical lists. This setting reverts HTML rendering to use tables as in releases prior to UNICOM Intelligence 6.0. <span> tags are currently are used to render categorical lists.
Apply sub templates in grids
When selected, custom controls in sub-templates are activated for grid and loop questions.
Browser capabilities
The provided field allows you to define specific browser capabilities. The default value is:
BrowserName=IE;MajorVer=8;MinorVer=0;UserAgent=Author
DocType
The list provides all HTML and XHTML rendering options for web surveys.
Data Entry options
Auto advance
When selected, the auto advance feature is activated for data entry.
Manually configuring HTML Options and HTMLDocType settings
In addition to configuring the HTML Options and DocType settings on the Preview tab, you can also manually define the settings via the Questions pane.
1 In the Questions pane, select the document node, right click at the bottom of the Design pane, and select Custom Properties. The Custom Properties information displays in the Design pane.
2 To create an HTML Options entry, click in an empty Name cell and enter HTMLOptions, enter Question in the adjoining Context cell, and then enter the appropriate values in the adjoining Value cell.
3 To create a DocType entry, click in an empty Name cell and enter HTMLDocType, enter Question in the adjoining Context cell, and then enter the appropriate values in the adjoining Value cell.
Example
Name
Context
Value
HTMLOptions
Question
NoExpiryMetaTags,NoAutoJump
HTMLDocType
Question
UseTemplateDocType
The resulting metadata, available via the Script tab, resembles the following:
HtmlDocType = "UseTemplateDocType",
HtmlOptions = "NoExpiryMetaTags,NoAutoJump"
See also
Options dialog box