PublishAllFileVersions method

Creates a file in external storage, linked to the given eRoom file, while simultaneously storing all old versions of the file into the external storage also. If a non-versioned eRoom file is specified, the result is the same as using the PublishFile method.

Syntax


C++

HRESULT PublishAllFileVersions(
   IERUFile* pFile,
   BSTR ExternalFolderID,
   BSTR ExternalTemplateID,
   BSTR PathToExternalFolder)

Scripting languages
Object.PublishAllFileVersions(
   pFile as IERUFile,
   ExternalFolderID
as String,
   ExternalTemplateID
as String,
   PathToExternalFolder as String
)

Parameters


pFile

An IERUFile pointer to the eRoom file to publish.

ExternalFolderID

Reference to the external folder. For Documentum, this must be a Chronicle ID.

ExternalTemplateID

Optional reference to a template to use. For Documentum, this must be a Chronicle ID.

PathToExternalFolder

Semicolon-separated list of containers' ObjectIDs.

Return value


C++

The return code.

Scripting languages

None.

Home

Applies to

IERUExternalStorageProvider