IDOL View Component 12.11

# HighlightTagTerm

Whether to use the Content component `HighlightTagTerm` IDs for highlighting.

Set `HighlightTagTerm` to `True` to add an attribute to the HTML highlighting StartTag that indicates which term of the specified Links is being highlighted. If the highlighted term matches more than one of the query terms, it returns a comma-separated list of matching term indexes.

For example, if you set Links to `cat+dog+mat`, the term cat is highlighted with the specified StartTag and the extra attribute `t="0"`, because it is the first term (for example, `<font color="red" t="0">`). The term dog is given the attribute `t="1"`, and the term mat is given the attribute `t="2"`.

NOTE: This option works only when the specified StartTag is an HTML or XML tag (for example, `<mytag>`).

Actions: | GetLink View
Type: | Boolean
Default: | False
Example: | `HighlightTagTerm=True`
See Also: | Links StartTag

© Copyright 2022 Micro Focus or one of its affiliates
Version 12.11 | Last updated February 2022

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 swpdl.idoldocsfeedback@microfocus.com.

We appreciate your feedback!

Product: IDOL IDOL View Component 12.11

Topic Title: HighlightTagTerm