Store Content in IDOL Server > Process Data before you Index > Edit or Remove Fields > Set up a FieldOp Task

Set up a FieldOp Task
Use the following procedure to set up a field operation task.
To set up a FieldOp task
1.
Open the IDOL server configuration file in a text editor.
2.
[MyFieldOpTask]
3.
Set Module to FieldOp to identify the task as a FieldOp task.
Module=FieldOp
4.
Operation=Replace
5.
Parameter1=AUTHOR
6.
Specify the value that replaces or is appended to the contents of the field specified in Parameter1, or the current encoding of the field.
*
If you set the Operation parameter to Replace, set Parameter2 to the new value of the field.
*
If you set Operation to Append, set Parameter2 to the value you want to append to the field.
*
If you set Operation to CharConversion, set Parameter2 to the current encoding of the specified field.
For example:
Parameter2=Company
7.
Specify the new encoding for the field (if you set Operation to CharConversion) or another value to append (if you set Operation to Append). For example:
Parameter3=UTF-8
8.
Specify any other parameters to apply to your FieldOp task. For details on available parameters, refer to the IDOL server Online Help.
9.
Save the IDOL server configuration file and restart IDOL server for your configuration changes to take effect.
Related Topics 
*
Example
In the following example, a FieldOp task automatically edits the value of a field. It uses the following configuration:
[MyFieldOp]
Module=FieldOp
Operation=Replace
Parameter1=AUTHOR
Parameter2=Company
NextTask=MyIndexTask
Every time IDOL server performs this task on an incoming document, it replaces the contents of the AUTHOR field with the value Company.
The IDOL server performs the specified NextTask after this task completes (in this case, MyIndexTask).