Content Component 26.1
Content Component Help

# PrintFields

The fields to display for results documents. This option has an effect only if you set Print to `Fields`.

By default, when you set Print to `Fields`, the Content component displays all fields that you have configured with the PrintType property. If you also set `PrintFields`, Content displays only the specified fields. The fields that you specify do not have to be PrintType fields.

For the Query action, you can use `PrintFields` to display the values of temporary fields created by the UserMetaFields parameter, as well as standard document fields.

NOTE: If you want to print XML attributes in your result, your `PrintFields` parameter must include both the attribute (in the format `_ATTR_attributeName`) and the tag that encloses the attribute. For example, `PrintFields=Author,Author/_ATTR_*` prints the `Author` field and all the XML attributes that it contains.

Separate multiple fields with plus symbols, commas, or spaces.

Actions: | GetContent List Query Suggest SuggestOnText
Type: | String
Default: |
Example: | `PrintFields=Author,DRECONTENT`
See Also: | Print UserMetaFields PrintType configuration parameter

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: PrintFields