Available for: Content Management Server
Task: Adds the specified enumeration values to an enum or multienum field if they do not already exist.
Syntax:
attribute withName attrName addEnumValues {enumValue}
Function parameters:
enumValue
(string) specifies a new enumeration value
to be added to the existing enumeration values of the field.Return value if successful: none
Necessary permissions: The user must have the permissionGlobalRTCEdit
permission.
Example:
CM>attribute withName texttype addEnumValues Report Advertisment Report Advertisment