DM_UploadPage

Uploads the selected page from the document.

Syntax

bool DM_UploadPage ()

Parameters

None.

Returns

True, if the page is uploaded to the repository. Otherwise, False.

If the file fails to upload or if the file is missing from the batch, the batch will be set to abort.

Level

Page level.

Details

This action uploads the current page to the repository. 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.

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