Available for: Content Management Server
Task: Sets the specified field of the file to the specified value.
Syntax:
obj (withId objId) | (withPath path) | root set {objAttr value}
Function parameters:
objAttr
The field of the file whose value is to be set
(see File attributes).value
is the value to be set for the respective file
field.Return value if successful: none
Necessary permissions (CM only): The user must have the permissionRoot
permission for the specified file.
Example:
CM>obj withId 2003 set parent /news/newslist