udclient [global-args...] [global-flags...]
setComponentVersionPropDef [parameters]
Parameter | Type | Required | Description |
---|---|---|---|
component | string | true | Name or ID of the component |
name | string | true | Name of the property to set |
description | string | false | Description of the property |
required | string | false | Whether the property is a required value on versions (true/false, optional - defaults to false) |
label | string | false | Label for the property when presented in forms. (Optional. Defaults to the name.) |
value | string | false | Default value of the property definition |
pattern | string | false | A regular expression to enforce that values for this property match a certain pattern. Leave blank to allow any values. |
type | string | false | The type of property definition; valid values are TEXT (the default), , TEXTAREA, CHECKBOX, SELECT, MULTI_SELECT, DATETIME, and SECURE |
udclient -username jsmith -password passwd
-weburl https://myserver.example.com:8443
setComponentVersionPropDef
-component JPetStore-APP
-name Prop1
-value true
-type CHECKBOX
{
"id": "870bc2f5-55e2-4cb9-b3ab-f750688754b9",
"name": "Prop1",
"type": "CHECKBOX",
"value": "prop1",
"required": false
}
Related REST command: Set a version property for a component.