objClass objClassRef set

Available for: Content Management Server

Task: Sets the specified parameters of the given file format to the specified values.

Additional information: From version 6.6.1 of CMS Fiona the name of a file format can be altered using the set command. Doing this causes all CMS-internal references to this format to be automatically adapted. This might have the effect that the Template Engine running on the live server exports all files again. In layouts and scripts the format names need to be adapted manually.

Syntax:

objClass withName objClassName set {parameter value}

Function parameters:

  • parameter specifies the parameter from the format whose value is to be set (see Format parameters).
  • value: the value to be set for the respective parameter.

Return value if successful: none

Necessary permissions: The user must have the permissionGlobalRTCEdit permission.

Example:

CM>objClass withName news set title {News article}