View Component 25.4
View Component Help

# Allocate Files to Databases

You can configure the Content component to use a field in each document to determine the database into which it indexes the document.

For more information about fields, see Fields.

To configure the Content to read the database from a document field

1. Open the Content component configuration file in a text editor.

2. In the `[FieldProcessing]` section, add a new process to the list, to identify your database fields.

   For example:

       [FieldProcessing]
       0=MyFirstProcess
       1=MySecondProcess
       2=DatabaseFields

3. Create a configuration section with the listed name. For example:

       [DatabaseFields]

4. In this new section, set the `Property` parameter to the name of the property section for the process (you configure the property later). Set the `PropertyFieldCSVs` parameter to identify the fields that you want to associate with the process.

   Optionally, set `PropertyMatch` to identify a specific value that fields must have to be processed.

   NOTE: The property that you create must not have the same name as the process.

   For example:

       [MyFirstProcess]
       Property=MyFirstProperty
       PropertyFieldCSVs=*/MyField,*/MySecondField
       PropertyMatch=*myString*

       [MySecondProcess]
       Property=MySecondProperty
       PropertyFieldCSVs=*/MyOtherField,*/MyOtherSecondField

       [DatabaseFields]
       Property=Database
       PropertyFieldCSVs=*/DREDBNAME,*/DB,*/Database

5. Create a section for your indexing property and set the `DatabaseType` parameter to `True`.

   For example:

       [MyFirstProperty]
       HiddenType=True

       [MySecondProperty]
       Index=True

       [Database]
       DatabaseType=True

6. Save and close the configuration file.

7. Restart the Content component for your changes to take effect.

Copyright 2025 Open Text
Version 25.4 | Last updated October 2025

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 View Component 25.4

Topic Title: Allocate Files to Databases