LinkContainer method

Links an eRoom item box to a folder in external storage. Files added to the itembox are automatically published to the external folder, and linked to the new external document. The command can only be used with Folders and Databases with attachment columns.

Syntax


C++

HRESULT LinkContainer(IERUContainer* pContainer,
   BSTR ExternalFolderID,
   BSTR ExternalTemplateID,

   BSTR PathToExternalFolder)

Scripting languages
Object.LinkContainer(pContainer as IERUContainer,
   
ExternalFolderID as String,
   
ExternalTemplateID as String,
   
PathToExternalFolder as String)

Parameters


pContainer

An eRoom folder or database.

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

A semicolon-separated list of containers' ObjectIDs.

Return value


C++

The return code.

Scripting languages

None.

Home

Applies to

IERUExternalStorageProvider