While debugging a service template, you can import property values to a specified properties file.
Follow these steps to import property values to a specified file.
- From the debugger interface, click Import.
- In the Import dialog box, enter the name of the properties file to use for storing the property values, or use the browser to search for the specified file, then click OK.
When the import finishes, notifications about the property values that have and have not been imported are temporarily visible as follows:
- Properties to which the values are applied.
- Properties for which the values are not applied. These are properties for which the attribute values cannot be changed and for which the values are not applied due to the property value definitions.
- Non-existent properties. These are properties that are defined in the file but do not exist in the target service.
When importing a properties file from the debugger, (or the Create/Edit Service and Submit Service Request windows), the JSON or key=value format is supported.
When accessing the import capability from the CLI, the additional format key@FILE=file-path is also supported.
The conditions that must be met to apply property values during an import are shown in following table.
Property Group Attribute Property Attribute hidden paramMode visibility reference hidden readOnly False in config false false false False in exec false -- -- If the properties do not meet these conditions, or there are no corresponding properties defined in the service, the values contained in the definition file are not applied. The values are also not applied if the "value field" is not defined or is set to null.
Note: If the length of keyName exceeds the limit, the property is classified as a property that does not exist in the service.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 properties file definitions are not valid.