2 Integrating the Client With Other Web Applications
The web application invokes the Capture Client through a Uniform Resource Locator (URL). Parameters such as the workspace, capture source, client profile, document profile, and optional metadata values are passed within the URL.
For example, you might add a Scan button to a line of business web application. After completing business application entry fields, the user clicks Scan. The Capture Client window displays to the user and Capture immediately begins scanning a document using a specified scanner and settings in the client profile specified in the URL. After scanning, the document is displayed in the document pane. Metadata fields are automatically populated with user entries, which were passed in the URL. The user reviews the document and completes other metadata fields, then releases the batch, scans additional batches, or closes the Capture Client.
When a web application launches the URL, the Capture Client starts and prompts the user to log in. After logged in, the Capture Client uses the parameters, accordingly. If the Capture Client is already running when a web application launches the URL, the parameters will be passed to the already running instance of the Capture Client.
2.1 Configuring a Client Integration
To configure an integration between a web application and the Capture Client:
2.1.1 Example Client Integration URL
Here is an example URL. (Note that this URL should be all on one line.)
oraclecapture://
CaptureWorkspace=Accounting&ClientProfile=Import%20Invoices&CaptureDriver=CAPTURE_IMPORT_DRIVER&CaptureSource=Import%20Source&SignOutOnRelease=1&Company=MyCompany&Dept=Accounting&Invoice%20Date=2015-08-04T12:00:00Z
This URL configures the client integration as follows:
-
CaptureWorkspace=Accounting
- Specifies Accounting as the workspace to which to capture documents. -
ClientProfile=Import Invoices
- Specifies Import Invoices as the client profile to use. -
CaptureDriver=CAPTURE_IMPORT_DRIVER
- Specifies CAPTURE_IMPORT_DRIVER as the capture source for importing. -
CaptureSource=Import Source
- Specifies Import Source as the capture source. -
SignOutOnRelease=1
- Specifies that the user is signed out after releasing a batch. -
Company=MyCompany
- Passes a value of MyCompany for the Company metadata field. -
Dept=Accounting
- Passes a value of Accounting for the Dept metadata field. -
Invoice%20Date=2015-08-04T12:00:00Z
- Passes a date and time value as August 4, 2015 at 12 noon UTC time for the Invoice Date metadata field.