updateComponentTemplatePropDefs

Update a component template prop-def sheet from a JSON file. Replaces the property definitions.

Format

udclient [global-args...] [global-flags...]
  updateComponentTemplatePropDefs [parameters] [JSON file]

Parameters

Table 1. Parameters
Parameter Type Required Description
componentTemplate string true Name or ID of the component template

Template

This command takes a JSON request string or file. Use the following template for the request:
{
  "README": "See entity attribute for the template 
  description expected by this endpoint.",
  "entity": [{
    "descirption": "Optional",
    "description": "Optional, description displayed to 
  user",
    "label": "Optional, label displayed to user",
    "name": "Required, the property name",
    "pattern": "Optional, regular expression for the value",
    "required": "Optional boolean, if the property is 
  required",
    "type": "Optional, Default TEXT, Type of property 
  definition",
    "value": "Optional, Default value"
  }]
}

Related REST command: Update a component template prop-def sheet from a JSON file. Replaces the property definitions..