Component - removePropertyValue
Component - removePropertyValue
Description :
This command removes the overridden value for a given property from the component. This command assumes that the property has been defined either in the Component property class, or in this component's component template.
Return type : DBKey
Command Input :
Variable Name | Variable Type | Description |
|---|---|---|
objectKey | DBKey | DBKey of the component. |
propertyName | String | Name of the property. |
Example
The following example assumes that the CLI variable component_key is a DBKey to a particular component, and that the property install_dir is defined in this component's component template as a local property.
Script
Component removePropertyValue $component_key install_dir
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*