View Component 25.1
View Component Help

# MultiHighlight

Set `MultiHighlight` to `True` to use different highlighting tags for different link terms (for example, to highlight each term in a different color). In this case, you must set the Links, StartTag, and EndTag parameters to a list of options, separated by semicolons (`;`). the View component highlights the first link term with the first StartTag and EndTag, and so on.

For example:

    action=View&MultiHighlight=True&Links=dog+OR+cat;rabbit;"apples and pears"&StartTag=<b>;<i>;<font color="red">&EndTag=</b>;</i>;</font>&Boolean=True

This action highlights the terms `dog` or `cat` in bold, the term `rabbit` in italic, and the phrase `apples and pears` in red.

If the Links, StartTag, and EndTag parameters contain values that include a semicolon, you must percent-encode each term, separate them with semicolons, then percent-encode the whole string again.

Actions: | Export GetLink ViewGetDocInfo View
Type: | Boolean
Default: | False
Example: | `MultiHighlight=True`
See Also: | EndTag Links StartTag

Copyright 2024 Open Text
Version 25.1 | Last updated January 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.1

Topic Title: MultiHighlight