IDOL View Component 12.13

# Allocate Files to IDOL Server Databases

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

To configure IDOL Server to read the database from a document field

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

2. In the `[FieldProcessing]` section, list a process that identifies database fields.

   For example:

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

3. Create a section for the database field identifying process. For example:

       [DatabaseFields]

4. Create a property for the process (you define the property later, by using one or more applicable configuration parameters). Identify the fields that you want to associate with the process.

   Optionally, use the `PropertyMatch` parameter 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 IDOL Content component for your changes to take effect.

© Copyright 2022 Micro Focus or one of its affiliates
Version 12.13 | Last updated October 2022

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 swpdl.idoldocsfeedback@microfocus.com.

We appreciate your feedback!

Product: IDOL IDOL View Component 12.13

Topic Title: Allocate Files to IDOL Server Databases