Use the following procedure to set up fields that determine when documents expire.
Open the IDOL Content component configuration file in a text editor.
[FieldProcessing]
section.Add a new field process to the list of field processes that the [FieldProcessing]
section contains.
For example:
[FieldProcessing] 0=IndexFields 1=IndexAndWeightHigher
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).
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
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
|