attribute create

Available for: Content Management Server

Task: Creates a new user defined field with the specified values.

Syntax:

attribute create {parameter value}

Function parameters:

  • parameter specifies the name of the field parameter whose value is to be set during creation of the field. The field name must be specified.
  • value is the value to be set for the parameter.

Return value if successful: name of the field (string)

Necessary permissions: The user must have the permissionGlobalRTCEdit permission.

Example:

CM>attribute create name texttype type multienum
texttype