# 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

_FT_HTML5_bannerTitle.htm