Configuring Box Connector actions
Some configuration is required to make the Box-related actions and rulesets visible in the user interface of Datacap programs and ready for use.
Procedure
To use a Box-related ruleset in your application:
- Record the Box-related settings and parameter values that you need for Box configuration. For more information, see Box Connector settings.
- If your machine is isolated from the internet and cannot directly communicate with Box, configure your machine to use a proxy server. Because the Box rulesets do not support proxy servers, external configuration of a proxy service is necessary to support network traffic to and from Box. For example, you might configure your Windows machine to use the WinHTTP proxy service to direct traffic to your HTTP proxy server. Regardless of the way that you implement the proxy server, the server must handle the Microsoft HTTP API functions that Datacap uses for the Box rulesets.
- Copy the files from the directory <target installation path>\RRS\Box to the rules directory of your application. For example, you might copy files from C:\Datacap\RRS\Box to C:\Datacap\APT\dco_APT\rules. The Box directory comes installed with Datacap.
- In your application's rules directory, edit the DatacapBOX.dll.config file
to substitute the appropriate OAuth parameter values for occurrences
of the following text:
- [your client_id]
- [your client_secret]
- [your redirect_uri]
- Use Datacap FastDoc or Datacap Studio to configure a Box-related ruleset. Two such rulesets come installed with Datacap: Export to Box and Import from Box. For information about creating a custom export ruleset, see Box Connector upload examples and Configuring export options.
- Configure Rulerunner to run your rulesets. In particular, specify the appropriate number of Rulerunner threads. For information about the appropriate thread number for your ruleset, see Export object (for export rulesets) or Import object (for import rulesets). For information about configuring Rulerunner, see Configuring Rulerunner to run tasks.
Parent topic: Box Connector actions