Configure field values in the XML database
Prerequisites
Before you can configure values for fields in the XML database, you must get access to editing CFG files.
Configure a default value for a field
- Click the toolbar button to configure the database (tooltip: “Database Setup”).
The Database Setup window appears. - In the Selected Fields list, double-click the field for which you want to define a default value.
The Edit Field - <field name> window appears. - In the Default Value group box, select the relevant radio button.
If you select:
- None - no default value will be assigned to the field and you must go to step 5.
- User Defined or System Defined - you can assign a default value to the field as described in step 4.
As default the following User Defined values are used:
- Forfatter [Author]: #TOM#
- Afsendt fra [sent from]: #TOM#
- Afsendt af [sent by]: #TOM#
- Enter a value in the field next to the User Defined radio button or select a value in the drop-down list next to the System Defined radio button.
- Click OK.
The Edit Field - <field name> window closes, and the default value for the field is defined.
If you enter a value in the field next to the User Defined radio button, you must make sure that the value complies with the OIO standard.
Configure an additional property for a field
To configure additional properties for a field in the XML database, you can specify characters to be added as prefix or postfix (suffix) to the value of a field, or you can copy the value of a field to another field.
- Click the toolbar button to configure the database (tooltip: “Database Setup”).
The Database Setup window appears. - In the Selected Fields list, double-click the field for which you want to define a default value.
The Edit Field - <field name> window appears. - In the Extended Field Properties group box, do one or more of the following:
- In the Fixed Prefix field, enter the characters which you want to be a prefix to the value of the field that you selected in step 2.
- In the Fixed Postfix field, enter the characters which you want to be a postfix to the value of the field that you selected in step 2.
- In the Copy Regvalue to Field field, enter the name of the field to which you want to copy the value of the field that you selected in the step 2.
- In the Copy Finalvalue to Field field, enter the name of the field to which you want to copy the value of the field that you selected in step 2, including prefix/postfix.
For example:- The value of the field, which is selected in the Selected Fields list, is
t9a. - In the Fixed Prefix field, the value
M: has been entered. - The Fixed Postfix field is empty.
- In the Copy Regvalue to Field field, the field name
sjindblikhas been entered. - In the Copy Finalvalue to Field field, the field name
sjsagsbehhas been entered.
The result is that the value
t9ais copied to the field<sj:field name=”indblik”>, and that the valueM:t9ais copied to the field<sj:field name=”sagsbeh”>. -
Click OK.
The Edit Field - <field name> window closes and the additional properties for the field are defined.