content contentRef getExportBlobForFrame

Available for: Content Management Server

Task: The function returns the version of the file that will be created when the Content Manager exports the frame belonging to the version with the specified ID.

Syntax:

content withId contentId getExportBlobForFrame frameName

Function parameters:

  • frameName: the name of the frame whose export blob is to be queried.

Return value if successful: the export blob.

Necessary permissions: The user must have the permissionGlobalExport permission or the permissionRead permission for the file the version belongs to.

Example:

CM>content withId 25687 getExportBlobForFrame leftFrame
(The frame’s export blob)

Example for a corresponding obj command:

CM>obj withId 24235 editedContent getExportBlobForFrame leftFrame
(The frame’s export blob)