# DatabaseFields

The fields that contain the name of the database in which to store the document. IDOL Server treats these fields as DatabaseType fields for the documents that you send in the index action.

NOTE: Micro Focus recommends that you use field configuration to set DatabaseType fields, instead of setting this parameter for a single index action.

Separate multiple fields with commas. There must be no space before or after a comma. You can use wildcards.

When identifying fields use the formats:

- `/FieldName` to match root-level fields

- `*/FieldName` to match all fields except root-level

- `/Path/FieldName` to match fields that the specified path points to.

If you specify only the field name, IDOL Server automatically adds a `*/` to it.

If the IDOL Server configuration file contains a field process that identifies a field from which IDOL Server can read the file destination database, the `DatabaseFields` index action parmaeter overrides the configuration.

If the IDOL Server configuration file does not contain a field process that identifies the document destination database, you must specify either DREDbName or `DatabaseFields`.

Actions: | DREADD DREADDDATA
Type: | String
Default: |
Example: | `DatabaseFields=Document/DREDBName,*/myDB` In this example, IDOL Server indexes the document into the database whose name is contained in any DREDbName field below the Document level and whose name is contained in any fields called `myDB`.
See Also: | DREDbName configuration parameter

_FT_HTML5_bannerTitle.htm