DM_UploadDocument

Uploads all of the pages in the document.

Syntax

bool DM_UploadDocument ()

Parameters

None.

Returns:

True, if all of the pages within the document are uploaded to the repository. Otherwise, False.

If any of the files for the document are missing from the batch, it is not considered an error and the batch will not abort. If the upload to Documentum fails due to a different reason, the document upload will stop and the batch will be set to abort.

Level

Document level.

Details

This action will upload all of the pages that are attached to a document. An XML file called DM_Uploaded.xml is created in the batch directory. This file lists all of pages that have been uploaded.

DM_Logon must have been previously called. Additionally, the destination folder, final object name and content type must have been previously set. When uploading a document using this action, all pages must be of the same type.

Example:
DM_SetFolderName("/folder1/folder2")
DM_SetContentType("tiff")
DM_SetObjectName("@ID")
DM_UploadDocument()