View Component 25.2
View Component Help

# Show Revised Content and Revision Information

You can show content that was deleted from a document with revision tracking enabled by setting the `KVCFG_INCLREVISIONMARK` parameter to `True` in the `[KVHTMLConfig]` section of the template file. When you enable this parameter, revision information (revision title, reviewer name, and revision date and time) for deletions and insertions of content display in a tooltip.

To reset the parameter and exclude deleted content and revision information from the HTML output, set the parameter to `False`. The default is `False`.

## Format Revised Content

You can display revised content with a specified title and revision information. By default, the title is either the text string inserted: or deleted:, and it includes the reviewer name, and date and time.

You can also define a unique HTML style (such as, `color: red; background: orange`) to apply to the modifications for each reviewer. This allows you to easily differentiate between edits from multiple reviewers. For example, changes made by JSmith are highlighted in red, changes made by RBrown are highlighted in blue, and so on.

For example, you can configure View to generate the following markup for inserted text:

    <ins style="color: red" title="Inserted: JohnD, 2006-04-24Tl4:47:00" cite="mailto:JohnD" datetime="2006-04-24T14:47:00">This text was added</ins> in a previous version.

This text is displayed in the browser as:

This text was added in a previous version.

When you hover the cursor over the underlined text in the browser, the text "Inserted: JohnD, 2006-04-24Tl4:47:00" is displayed as a tooltip.

Use the following parameters to define the display of revised content.

Parameter | Description
--- | ---
`KVCFG_INSTITLEPREFIX` | Specifies a string to include at the beginning of the tooltip for insertions. By default, the string inserted: is included.
`KVCFG_INSTITLEFLAG` | Specifies whether to display the reviewer name and the revision date and time in the tooltip for insertions. The following values are available: RMT_OFF. Does not display the information with the insertion. RMT_AUTHOR. Displays the name of the reviewer who made the insertion. RMT_DATETIME. Displays the date and time of the insertion. RMT_AUTHORDATETIME. Displays the reviewer, date, and time of the insertion. This is the default.
`KVCFG_DELTITLEPREFIX` | Specifies a string to include at the beginning of the tooltip for deletions. By default, the string deleted: is included.
`KVCFG_DELTITLEFLAG` | Specifies whether to display the reviewer name and the revision date and time in the tooltip for deletions. The following values are available: RMT_OFF. Does not display the information with the deletion. RMT_AUTHOR. Displays the name of the reviewer who made the deletion. RMT_DATETIME. Displays the date and time of the deletion. RMT_AUTHORDATETIME. Displays the reviewer, date, and time of the deletion. This is the default.
`KVCFG_AUTHORSTYLEN` | Specifies a list of HTML style attributes to apply to the changes for each reviewer.

For example:

    [KVHTMLConfig]
    KVCFG_INCLREVISIONMARK=True
    KVCFG_INSTITLEFLAG=RMT_AUTHOR
    KVCFG_INSTITLEPREFIX=New:
    KVCFG_DELTITLEFLAG=RMT_AUTHOR
    KVCFG_DELTITLEPREFIX=deleted:
    KVCFG_AUTHORSTYLE0=color: red; background: white
    KVCFG_AUTHORSTYLE1=color: yellow; background: blue
    KVCFG_AUTHORSTYLE2=color: green; background: black

This configuration:

- enables revision marks.

- displays only the name of the reviewer in the tooltip.

- adds the string New: to the beginning of the tooltip.

- defines styles to use for each reviewer.

Related Topics

- Modify the HTML Output for Documents

Copyright 2025 Open Text
Version 25.2 | Last updated April 2025

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: Knowledge Discovery View Component 25.2

Topic Title: Show Revised Content and Revision Information