View Component 25.1
View Component Help

# 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 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 2024 Open Text
Version 25.1 | Last updated January 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.1

Topic Title: Set up a Field Process for Expiration Dates