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:
-
objAttrThe field of the file whose value is to be set (see File attributes). -
valueis 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