Exporting Property Values - HPE XP7 Automation Director User Manual

Hide thumbs Also See for XP7 Automation Director:
Table of Contents

Advertisement

If an error occurs during an import, the error dialog box appears, and the import is canceled, leaving all
property values unchanged. An error occurs when the specified file does not exist or the property file
definitions are invalid.

Exporting property values

While debugging, you can export property values to a property file. This allows you to save multiple
property values in a file for subsequent reference.
Exporting property values
Follow these steps to export property values to a specified file.
1. From the debugger interface, click Export.
2. Access the browser to locate the property file or specifically enter its name and click OK.
The property values are exported to the specified file. The property values are exported in the Json
format and, by default, are saved to the service_properties.json file.
Format
In the property file specified as a command argument, the property key and value used by the executed
services can be defined in JSON, key=value, and key@FILE=file-path formats.
JSON format
{
"properties": [
{
"keyName": "property-key",
"displayName" : "property-display-name"
"description" : "description-of-property"
"type" : "property-type"
"value": "property-value"
},
{
"keyName": "property-key",
"displayName" : "property-display-name"
"description" : "description-of-property"
"type" : "property-type"
"value": "property-value"
},
...
]
}
Following are definition details for the JSON format:
The displayName, description, and type fields are optional.
When you specify the value field, set an empty value for the property value.
Exporting property values
87

Advertisement

Table of Contents
loading

Table of Contents