SharePoint Connector upload examples

The SharePoint Connector Upload actions configure the connection between the Datacap application and the SharePoint library.

The Datacap Connector for Microsoft SharePoint Upload actions configure the connection between the Datacap application and the SharePoint library. 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 SharePoint.

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

Upload a single scanned image file

Table 1. The sequence of actions for uploading a single scanned image file into SharePoint.
Action Description
SP_SetURL("http://full.url.com") Establish the URL for the SharePoint library.
SP_Login("admin,password") Provide the SharePoint user login credentials: admin and password.
SP_Upload() Upload the image file for the page to the specified URL location on the SharePoint library.

Upload a batch of scanned images

Table 2. The sequence of actions for uploading a batch of scanned images into a SharePoint library.
Action Description
SP_SetURL("http://full.url.com") Establish the URL for the SharePoint library.
TifMerge_SetFileName("@ID",".tif") Optional: Define the name of the multiple TIFF files that is uploaded to the Documentum Docbase.
TifMerge_MergeImages("all") Optional: During processing, merge all the images of the pages that are associated with the current document.
SP_SetContentType("tiff") Assign the Content Type to be TIFF for the page that you are uploading to the repository.
SP_Login("admin,password") Provide the SharePoint user login credentials: admin and password.
SP_Upload() Upload the image file for this batch to the specified URL location on the SharePoint library.

Upload pre-scanned images

Table 3. The sequence of actions for uploading pre-scanned images into a SharePoint library.
Action Description
SP_SetURL("http://full.url.com") Establish the URL for the SharePoint library.
SP_SetProperty("Date,@Value") Set an index value for the Date column in SharePoint.
SP_Login("admin,password") Optional: Provide the SharePoint user login credentials: admin and password.
SP_UploadDIR("/MyImages") Upload the image files in this directory to the specified URL location on the SharePoint library. Specify whether the files are uploaded or deleted.

Collect field data and populate SharePoint columns

Table 4. The sequence of actions for collecting field data and populating SharePoint columns.
Action Description
SP_SetURL("http://full.url.com") Establish the URL for the SharePoint library.
TifMerge_SetFileName("@ID",".tif") Optional: Define the name of the multiple TIFF files that is uploaded to the Documentum Docbase.
TifMerge_MergeImages("all") Optional: During processing, merge all the images of the pages that are associated with the current document.
SP_SetProperty("Date,@Value") Set an index value for the Date column in SharePoint.
SP_SetContentType("tiff") Assign the Content Type to be TIFF for the page that you are uploading to the repository.
SP_Login("admin,password") Provide the SharePoint user login credentials: admin and password.
SP_Upload() Upload the image file for this batch to the specified URL location on the SharePoint library.