Category Component 26.1
Category Component Help

# TextParse

Set `TextParse` to `True` if you want to provide an XML or IDX document as QueryText. In this case, the Category component sets `TextParse` to `True` in the `Query` action that it sends to the Agentstore component.

By default, Category assumes that you provide simple text in the QueryText parameter, and uses this text to query Agentstore for matching categories.

When you set `TextParse` to `True`, Category treats the query text as an XML or IDX document (it automatically detects the correct format). Agentstore extracts any `TextParseIndexType` fields in the document and uses them as the query text when it retrieves matching categories. It does not match the rest of the document.

If you also set AgentBoolean to `True`, Agentstore also checks if categories that match the query text contain an AgentBoolean field that matches the original query document (that is, the entire XML or IDX document). ). It returns only categories that have an AgentBoolean field that matches the original query document.

NOTE: Setting AgentBoolean to `True` implicitly sets `TextParse` to `True`. In this case, if you do not provide an XML or IDX document in the QueryText, Agentstore cannot match the text and returns an error.

When you set `TextParse` to `True`, the text that you provide must be a valid IDX or XML document, which in XML must include XML headers and an appropriate document delimiter tag (see DocumentDelimiterCSVs).

Actions: | CategorySuggestFromText
Type: | Boolean
Default: | False
Example: | `TextParse=True`
See Also: | AgentBoolean

Copyright 2025 Open Text
Version 26.1 | Last updated January 2026

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 Category Component 26.1

Topic Title: TextParse