Skip to main content
Skip table of contents

loadLatestContentVersion

Downloads the file data of the latest version of a ContentDocument record and stores it into the variable context as a new File value.

The load command does the same as this command in addition to handling other kinds of file-containing records. Please consider using it instead.

Attributes

var

Required

Value type

EL-evaluated

Yes

String

No

Defines the name of a variable that will hold the File value.

contentDocumentId

Required

Value type

EL-evaluated

Yes

String

Yes

Defines the ContentDocument whose latest version's file data is downloaded. The resolved String should be the ID of the ContentDocument record.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.