1.8.2 Preset property definition file format
Define the preset property definition file as follows:
-
The definition format is property-key = property-value.
-
Use UTF-8 character encoding.
-
A line starting with the hash mark (#) is a comment line.
-
Characters are case sensitive.
-
Blank lines are ignored.
How to write a property key
-
For property-key, specify the property key that is defined as the input property in the Edit Service Definition dialog box. Note that you can define only property keys for which you want to set values.
-
Specify only one property key and setting value on each line.
-
If you specify multiple definitions for the same property key, the last entered definition is used.
-
Characters from the first character to the character that precedes the equal sign (=) on each line of the preset property definition file are treated as a property key.
How to write a property value
-
For property-value, specify a value meeting the criteria specified for Data Type, Minimum Length, Maximum Length, and Restricted Character in the Edit Service Definition dialog box.
-
All characters on a line after the equal sign (=) in the preset property definition file are treated as a property value
-
If you do not want to specify a property value, use the format property-key = linefeed.
In the following cases, if you select a preset name and click the Apply button in the Service Definition dialog box, an error occurs.
-
The preset property definition file is larger than 1 MB.
-
A property key that is not an input property was entered.
-
A property key that is not defined in the Edit Service Definition dialog box was entered.
-
A property key with date specified for Data Type in the Edit Service Definition dialog box was entered.
-
The preset property definition file name is invalid.
For details about file name formats and specifiable characters, see 3.4 Adding preset properties to service templates.