DepotObject - getFullyResolvedPropertyValue
DepotObject - getFullyResolvedPropertyValue
Description :
This command returns the fully resolved value of a given property in a given depot object. Using dot notation, you can get a nested property value within a depot object, as shown in the example below.
As input, this command requires a string indicating the type of depot object. For a list of valid depot object type strings, see getDBKeyByTypeStringGroupAndName .
Return type : String
Command Input :
Variable Name | Variable Type | Description |
|---|---|---|
depotObjectTypeString | String | String representation of the depot object type. |
depotGroupName | String | Name of the depot object group. |
depotName | String | Name of the depot object. |
propertyName | String | Name of the property whose value you want to get. |
Example
The following example gets the fully resolved property value of the nested property SUB_PROP, which resides in the property DEPOT_PROP. DEPOT_PROP is a property of a depot object named testDepot in depot group tstDepotGroup:
Script
blcli DepotObject getFullyResolvedPropertyValue NSHSCRIPT /tstDepotGroup testDepot DEPOT_PROP.SUB_PROP