Open topic with navigation

# 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`, IDOL 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

© 2017 Hewlett Packard Enterprise Development LP | Send documentation feedback to HPE Close Send documentation feedback To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a web mail client, and send this email to AutonomyTPFeedback@hpe.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_HP_HTML5_bannerTitle.htm