attribute attrRef editField set

Available for: Content Management Server

Task: Sets the specified input field parameter of the attrName field to the specified values.

Syntax:

attribute withName attrName editField set {parameter value}

Function parameters:

  • parameter specifies the parameter from the field whose value is to be set.
  • value is the field parameter value to be set.

Return value if successful: 1

Necessary permissions: The user must have the permissionGlobalRTCEdit permission.

Example:

CM>attribute withName datasheet editField set type textfield