setComponentVersionPropDef

Set a version property for a component
Component version properties are available to each version of the component.

Format

udclient [global-args...] [global-flags...]
  setComponentVersionPropDef [parameters]

Parameters

Table 1. Request parameters
Parameter Type Required Description
component string true Name or ID of the component
name string true Name of the property to set
value string false Default value of the property definition
type string false The type of property definition; valid values are TEXT (the default), , TEXTAREA, CHECKBOX, SELECT, MULTI_SELECT, and SECURE

Example

udclient -username admin -password admin 
  -weburl https://myserver.example.com:8443
  setComponentVersionPropDef 
  -component JPetStore-APP 
  -name Prop1 
  -value true 
  -type CHECKBOX

Example response

{
  "id": "870bc2f5-55e2-4cb9-b3ab-f750688754b9",
  "name": "Prop1",
  "type": "CHECKBOX",
  "value": "prop1",
  "required": false
}

Related REST command: Set a version property for a component.


Feedback