PropertyClass - getDefaultDisplayValue
PropertyClass - getDefaultDisplayValue
Description :
This command accepts a fully qualified class name and a property name as inputs and returns the default display value of the property in the class. To get a nested property value, use the format: PROP1.PROP2.PROP3.
The only difference between getDefaulDisplayValue and getDefaultValue is the handling of enumerated data types. Running getDefaultValue against an enumeration displays the value. Running getDefaultDisplayValue against an enumeration displays the name.
Return type : String
Command Input :
Variable Name | Variable Type | Description |
|---|---|---|
fullyQualifiedClassName | String | Fully qualified name of the property class. |
propertyName | String | Name of the property. |
Example
The following example gets the default value of a property called P1 in the class Class://SystemObject/C1.
Script
PropertyClass getDefaultDisplayValue Class://SystemObject/C1 P1
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*