MoveLinkedFileWithTemplate method

Moves the external document, with its template, from its existing container to a new container. The eRoom file remains unchanged.

Use this method instead of MoveLinkedFile when you are moving a file from an ordinary Documentum server folder to a web_channel (Web Publisher) folder, which requires you to specify a template for the file.

Syntax


C++

HRESULT MoveLinkedFileWithTemplate(
   IERUFile* pFile,
   BSTR ExternalFolderID,
   
BSTR PathToExternalFolder,
   BSTR
TemplateID)

Scripting languages
Object.MoveLinkedFileWithTemplate(
   pFile as IERUFile,
   
ExternalFolderID as String,
   PathToExternalFolder
as String,
   
TemplateID as String
)

Parameters


pFile

An IERUFile pointer to the linked eRoom file to move.

ExternalFolderID

External reference to the destination folder. For Documentum, this must be a Chronicle ID.

PathToExternalFolder

A semicolon-separated list of containers' ObjectIDs.

TemplateID

The object ID of the template to use.

Return value


C++

The return code.

Scripting languages

None.

Home

Applies to

IERUExternalStorageProvider