4.16 Overview of property files
A property file is a file that defines a set of property values to assign to a service. You can use a property file to set, in one operation, the property values that are appropriate for a particular environment or application.
Property files can be in the following formats:
JSON format
key=value format
key@FILE=file-path format
The formats in which JP1/AO can handle property files depend on the method used to import or export the file. The following table shows the relationship between supported file formats and the method used to import or export property files:
Format of property file |
Export method |
Import method |
||||
---|---|---|---|---|---|---|
Exported from Service Definition window or Submit Service dialog box |
Exported from Service Builder Debug window |
Exported using listtasks command |
Imported from Service Definition window or Submit Service dialog box |
Imported from Service Builder Debug window |
Imported using submittask command |
|
JSON format |
Y |
Y |
N |
Y |
Y |
Y |
key=value format |
N |
N |
Y# |
Y |
Y |
Y |
key@FILE=file-path format |
N |
N |
Y# |
N |
N |
Y |
- Legend:
Y: Can be imported/exported. N: Cannot be imported/exported.
- #
Properties whose data type is composite are exported in key@FILE=file-path format.