# 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 Server 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 2020 Micro Focus or one of its affiliates | Send documentation feedback Close Send documentation feedback To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a mail client, and then send this email to swpdl.idoldocsfeedback@microfocus.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_FT_HTML5_bannerTitle.htm