IDOL Category Component 24.4
IDOL Category Component Help

# View Templates

The View service can apply templates when it converts documents to HTML, which alter the appearance of the returned document. These templates are text files with `.ini` file extensions, which contain section names in square brackets, and key=value pairs. For example:

    [KVHTMLOptionsEx]
    OutputCharSet=KVCS_UTF8
    bUseDocumentColors=True

There are several basic templates installed with the IDOL View component in the IDOL Server installers. By default, these are found in:

    installDir\common\keyview\templates

If you move the templates folder, you must edit the value of the `ViewingTemplatesPath` configuration parameter in the `[Paths]` section of your IDOL View component configuration file.

The following table lists the provided templates.

View service templates

Template | Description
--- | ---
`k2lowband.ini` | This template is useful when you need to provide information to a mobile workforce that might not always have access to fast connections. Creates a single HTML file. Creates a table of contents at the top of the HTML document. Suppresses embedded graphics from the source document.
`k2lowbandunix.ini` | Similar to `k2lowband.ini` except that it saves vector graphics in a vector format to view using a Java applet.
`k2frames.ini` | Divides word processing documents, spreadsheets, and presentations into multiple files according to the heading levels in the document. Creates two frames. The table of contents (based on source document heading levels and page breaks) appears in the left frame, and the HTML files appear in the right frame. Inserts Previous and Next links at the end of each block.
`k2framesunix.ini` | Similar to `k2frames.ini` except that it saves vector graphics in a vector format to view using a Java applet.
`k2onefile.ini` | Creates a single HTML file. Creates a table of contents at the top of the HTML document. Lists all metadata (Title, Subject, Author, Comments, and so on). Converts graphics to JPEG with 640 x 640 resolution.
`k2pdfonefile.ini` | Similar to `k2onefile.ini` except that it converts graphics to JPEG and preserves the original resolution.
`k2onefileunix.ini` | Similar to `k2onefile.ini` except that it saves vector graphics in a vector format to view using a Java applet.

Copyright 2024 Open Text
Version 24.4 | Last updated September 2024

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: IDOL IDOL Category Component 24.4

Topic Title: View Templates