Available for: Content Management Server
Task: Returns the values of the specified version fields.
Syntax:
content withId contentId mget {contentAttr}
Function parameters:
- contentAttr : The name of a queried version fields (see Version fields).
Return value if successful: the list of values of the queried version fields (stringlist)
Necessary permissions:
- The user must have the permissionRead permission for the file the version belongs to.
- The permissionGlobalExport permission is sufficient to query the value of the exportBlob field.
Example:
CM>content withId 25687 mget lastChanged validFrom 20101221174909 20101216230000
Example for a corresponding obj command:
CM>obj withId 242235 editedContent mget lastChanged validFrom 20101221174909 20101216230000