IDOL View Component 12.13

# Set up a Field Process for Expiration Dates

Use the following procedure to set up fields that determine when documents expire.

To set up fields that determine when documents expire

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

2. Find the `[FieldProcessing]` section.

3. Add a new field process to the list of field processes that the `[FieldProcessing]` section contains.

   For example:

       [FieldProcessing]
       0=IndexFields
       1=IndexAndWeightHigher

4. To add a new field process, add a new line to the `[FieldProcessing]` section:

       [FieldProcessing]
       0=IndexFields
       1=IndexAndWeightHigher
       2=ExpireDateFields

   The listed field processes are numbered in consecutive order, starting from 0 (zero).

5. Create a section for your new field process in the configuration file. Create a property for the new process, and use the `PropertyFieldCSVs` parameter to identify the document fields that determine whether documents expire (a document expires when the time in this field elapses).

   For example:

       [ExpireDateFields]
       Property=SetExpireDate
       PropertyFieldCSVs=*/DREEXPIRE,*/valid_time

6. Create a section for your new property in the configuration file, and set the `ExpireDateType` to `true` to indicate that the associated `PropertyFieldCSVs` fields hold the document expiration date.

   To include an extra offset from the expiration date in the field, set `ExpireAfterDelay` to the number of hours (positive or negative) by which to offset the field expiration date.

   For example:

       [SetExpireDate]
       ExpireDateType=True
       ExpireAfterDelay=12

© 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: Set up a Field Process for Expiration Dates