Content Component 26.1
Content Component Help

# BaseFieldCodeOnly

Set `BaseFieldCodeOnly` to `True` to restrict the GetTagNames output to base field codes. This parameter has an effect only when the XMLFullStructure configuration parameter is set to `True`.

When XMLFullStructure is set to `True`, the Content component assigns a unique field code to every instance of a field name in a document. In this case, GetTagNames returns a list of fields that might contain many duplicate field names, for fields that occur more than once in a document. To return only one instance of each field name, set `BaseFieldCodeOnly` to `True`.

Set `BaseFieldCodeOnly` to `False` if you want to return all the available field codes.

You can use the GetStatus action to find the number of base and unique field codes for your index.

Actions: | GetTagNames
Type: | Boolean
Default: | False
Example: | `BaseFieldCodeOnly=True`
See Also: | XMLFullStructure

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

Topic Title: BaseFieldCodeOnly