IBM Content Manager Connector upload examples

The Datacap Connector for IBM® Content Manager Upload actions configure the connection between the Datacap application and the IBM Content Manager repository.

You use these actions to upload a single page file or an image that contains multiple pages and their associated index values from Datacap into IBM Content Manager.
These actions are based on the IBM Content Manager Java™ API. If you use the IBM Content Manager Java APIs, you must install the IBM Information Integrator for Content connector for Content Manager on the computers where you want to run these actions.

The examples in the following tables show the sequence in which you must add the actions to the Export To Content Manager ruleset for the upload scenarios.

Upload a single page file

Table 1. The sequence of actions for uploading a single page file into IBM Content Manager
Action Description
IBMCM_Logon("ibmcmsrv,userid,password") Log the application on to the IBM Content Manager server.
IBMCM_CreateItem("NOINDEX") Create an IBM Content Manager document.
IBMCM_SetAttributeValue("USERID,@OPERATOR") Set an attribute value on the IBM Content Manager document.
IBMCM_SetMimeType("application/msword") Set the MIME type for the IBM Content Manager document you are uploading.
IBMCM_CreateFolder("NOINDEX","123456789") Create an IBM Content Manager folder that is based on the item type and parent folder ID.
IBMCM_SetFolderAttributeValue("Name","MyFolder") Set an attribute value on the IBM Content Manager folder.
IBMCM_SetDestinationFolder("\APT") Identify the folder into which the uploaded is IBM Content Manager.
IBMCM_UploadDCO_Page() Upload the images that are associated with the current Page object of the document hierarchy to IBM Content Manager.

Upload a multiple page file

Table 2. The sequence of actions for uploading a multiple page file into IBM Content Manager
Action Description
IBMCM_Logon("ibmcmsrv,userid,password") Log the application on to the IBM Content Manager server.
IBMCM_CreateItem("NOINDEX") Create a IBM Content Manager document.
IBMCM_SetAttributeValue("USERID, @OPERATOR") Set an attribute value on the IBM Content Manager document.
IBMCM_SetMimeType("application/msword") Set the MIME type for the IBM Content Manager document you are uploading.
IBMCM_CreateFolder("NOINDEX","123456789") Create an IBM Content Manager folder that is based on the item type and parent folder ID.
IBMCM_SetFolderAttributeValue("Name","MyFolder") Set an attribute value on the IBM Content Manager folder.
IBMCM_SetDestinationFolder ("\APT") Identify the folder into which the uploaded is IBM Content Manager.
IBMCM_UploadDCO_DOC() Upload the images that are associated with the current Document object of the document hierarchy to IBM Content Manager.