Unsupported content

 

This version of the documentation is no longer supported. However, the documentation is available for your convenience. You will not be able to leave comments.

DepotObject - setPropertyValue

DepotObject - setPropertyValue

Description :

This command sets a property value on 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.

You can use the BMC BladeLogic blenc encryption utility to encrypt values you set with this command. For syntax and sample usage, see Server : setPropertyValue .

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.

valueAsString

String

The value you want to set.

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 setPropertyValue $depot_object_key is_approved true 



Was this page helpful? Yes No Submitting... Thank you

Comments