DepotObject - removePropertyValue
DepotObject - removePropertyValue
Description :
This command removes a property value from a depot object. The property name must be defined in the DepotObject property class, or in the appropriate subclass of DepotObject. The property must be defined as editable.
Return type : com.bladelogic.om.infra.model.depot.DepotObject
Command Input :
Variable Name | Variable Type | Description |
|---|---|---|
objectKey | DBKey | Handle to the depot object. |
propertyName | String | Name of the property. |
Example
This example script assumes that a depot object key is present in the CLI variable depot_object_key. It also assumes that a property called is_approved has been defined in the DepotObject property class.
Script
DepotObject removePropertyValue $depot_object_key is_approved
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*