Configuring SharePoint Connector actions
Create an Export ruleset and configure its rules and functions with SharePoint Connector actions. Then, you can upload documents from Datacap applications into a SharePoint library.
Verify that Datacap connectors are
installed.
You can export documents from an Datacap batch to a SharePoint library by adding the SharePoint Connector actions to the Export rulesets.
To configure SharePoint Connector actions:
- Verify the URL of the SharePoint library.
- Add the SharePoint connector actions (SPExport.RRX) to the Export rulesets.
The following example describes an Export To SP ruleset that logs on to SharePoint and uploads a single page document into the SharePoint library.
The ruleset contains the Connect to SP and AddDocument rules. The Connect to SP rule contains the Logon function and actions you must run to make the connection to the SharePoint library. The AddDocument rule contains the AddPage function with actions that define the title and format of the page, and upload the page.
Export
To SP ruleset
- Connect to SP rule
- Logon function
- SP_Login("userID,password,domain")
- SP_SetURL("http://blue/Docs/Documents/+BatchID+/+@ID")
- SP_CreateFolder("http://blue/Docs/Documents/Test")
- SP_Property("Date,@Value")
- Logon function
- AddDocument rule
- AddPage function
- SP_SetContentType("Invoice")
- SP_SetFileType("jpg")
- SP_Upload()
- AddPage function