Configuring IBM Content Manager Connector actions
You must create an Export ruleset and configure its rules and functions with IBM® Content Manager Connector actions to upload documents from Datacap applications into IBM Content Manager.
Procedure
To configure IBM Content Manager Connector actions:
- Install the IBM Content Manager Runtime Environment. For more information, see the IBM Content Manager client installation instructions.
- Restart the Datacap Client Station.
- Add the IBM Content Manager Connector actions (IBMCM.RXX) to the Export rulesets.
Example
The following example describes an Export To Content Manager ruleset that logs on to the IBM Content Manager server and uploads a single page document into IBM Content Manager.
This ruleset contains the Connect and Upload rules. The Connect rule contains the Logon function and action. The Upload rule contains the AddPage function with actions that create the page, set attribute values for the page, upload, and store the page.
Export To Content Manager ruleset
- Connect rule
- Logon function
- IBMCM_Logon("ibmcmsrv,userid,password")
- Logon function
- Upload rule
- AddPage function
- IBMCM_CreateItem("APT")
- IBMCM_SetAttributeValue("APT_Title,Page from CM8ItemDCO")
- IBMCM_SetAttributeValue("APT_Date,@P.VerifyTime")
- IBMCM_SetAttributeValue("APT_Vendor,@P.Vendor")
- IBMCM_CreateFolder("APT_Folder", "123456789")
- IBMCM_SetFolderAttributeValue("Name", "APT_Folder")
- IBMCM_SetDestinationFolder("123456789"
- IBMCM_UploadDCO_Page()
- IBMCM_StoreItemIDinDCO("CM8ItemDCO")
- IBMCM_StoreFolderIDinDCO("APT_Folder")
- AddPage function