The Database Lookup Extender allows you to improve and customize any searches you plan to run on the various SQL databases connecting to your eCopy ShareScan Manager. You can use any connected MFP to run SQL queries on the servers connected to the particular Manager the device is attached to. The extender also allows you to get input data by selecting from options coming from a database or CSV file, and to enter data manually. In general, the purpose of the extender is to enable the configuration of complex business automation workflows, in most cases in conjunction with the usage of extenders (typically, Forms Processing Extender, or similar) and document services (for example, Image Control).
To be able to use this extender with the Email and folder watching service, you need to configure it in such a way that it does not involve end-user interaction (express). To ensure this, unmark the Show Validation Screens checkbox in the configuration page.
Note:
Database Lookup Extender profiles can be executed during scan, if the given profile is located before the Scanning with Preview SCREEN shown/not shown item in the Order of Operation dialog. Bear in mind that the marked/unmarked status of the During scan checkbox next to the User data entry setting does not have any effect on the Document Service/Extender profile processing order, it is only responsible for determining when the connector forms appear (during scan or after scan). For details on profile orders, see Order of Operation section.
Note:
If the Database Lookup Extender profile is configured to be processed during scan (moved before the Scanning with Preview Screen shown/not shown item in the Order of Operation dialog) and the DLE lookup value has to be applied for all batches in the workflow, then the DLE lookup key has to be added to the value of the PublishingKeysForAllBatches
registry key with fully qualified name. For more information on this registry setting, see PublishingKeysForAllBatches Registry Setting section.
Before configuring the Lookup Extender, configure the Image Control or the FPE extenders (or the extenders and document services you want to use) to ensure that data publishing keys resulting from a barcode recognition or zonal OCR are set up properly.
As the extender interacts with databases supported by OLE DB, you must ensure that you have the relevant OLE DB driver installed when you plan to use a database type which is not supported by Windows by default (for example, Oracle).
The ShareScan software includes timers that automatically log you off after a certain period of inactivity. However, when the Cost Recovery Service is enabled, these timers are disabled and you remain logged on until you press End or Complete on the terminal, or until the terminal times out.
The following table describes the settings available on the Databases tab. The tab displays the name, type, and connection string for the stored database connections.
Setting |
Description |
---|---|
New |
Click this button to add a new database connection to the Extender. After clicking the New button, the Recent data sources dialog window is displayed, listing the already-existing connections. Note that this window does not appear if there is no previously created database connection. You cannot duplicate databases as in case of SQL database; you cannot add the same catalog connection again to the profile before deleting the existing one. Clicking an existing connection and selecting OK clones the connection. Clicking New displays the Configure data source window, allowing you to provide data for a new database connection. |
Remove |
Click this button to remove a selected database connection. |
Edit |
Click this button to edit the properties of the selected database connection. |
If ShareScan has a previously configured database then the Recent data source window appears when you click New.
You can select a previously configured database and accept it with the OK button (only available when a source is selected). Clicking the New button closes the Recent data sources window and the Configure data source window appears. Click Remove to delete a source form the list (it will be deleted only from Recent data sources).
Access this window by clicking New on the Databases tab, and selecting the New option on the Recent data sources screen, if there is no previously created database connection. You can set the following options:
Important!
Since Microsoft deprecated the Microsoft Jet 4.0 OLE DB Provider (https://msdn.microsoft.com/en-us/library/ms810810.aspx), and future Windows update may remove it from the system. Configuring a 'Microsoft Excel 97-2003' data source on machines without a Microsoft Jet 4.0 OLE DB Provider results in an error message. In case you still wish to use the old format .xls files, install 32 bit version of Microsoft Access Database Engine 2016 Redistributable (https://www.microsoft.com/en-us/download/details.aspx?id=54920) or later and configure Database type for Microsoft Excel 2007-2010 in the Configure data source dialog by selecting old format .xls files via setting the filter to All files (*.*) on the Windows File Open dialog.
Click through the options of this short Wizard to put together a connection string for your database:
Make database file password protected
To make a database file password protected, you have to configure Data Link Properties the same way as described above; the only difference in setup is on the All tab. Select the Database Password row and double-click on it or click the Edit Value… button.
The Edit Property Value window pops up. Enter the password in the Property Value field and click OK to confirm the password. Click Reset Value to delete the password and provide a new one.
When you are done, go back to the Connection tab and click the Test connection button. Click OK to save your settings.
The following table describes the settings available on the Lookup settings tab. The tab allows you to create, customize, and modify lookup operations for your workflows. The order inside the lookup list is the same as the execution order in runtime (from top to bottom).
Setting |
Description |
---|---|
New |
Click this button to add a new query to the Extender. Clicking the button opens the Lookup editor. |
Edit |
Click this button to edit the properties of the selected query. The Lookup editor is displayed, as with the New option, above. |
Copy |
Click this button to create a copy of the selected query. Using this option is advised if you are planning to use a number of queries, which differ only in minor details. This function also works if you highlight a lookup and then press [CTRL] while clicking on Copy. The copied original lookup is inserted to the copy as evaluation condition with Is not blank setting. |
Remove |
Click this button to remove a selected query. |
Move up |
Moves the selected Lookup result key up in the list. |
Move down |
Moves the selected Lookup result key down in the list. |
The Lookup Editor window has four main sections, allowing you to create and modify queries.
Test: click this button to test your query.
Note:
In case of barcode input, multiple value contains all elements of result set separated by a given separator. In case of user entered value, the user has to select from a result set (same as One value only behavior ).
If a user needs a list with all results (e.g. email addresses) s/he needs to use barcode for input. The user can also create a second DLE profile with express mode, referring the first DLE profile's user entered lookup.
Before you can finalize your lookup, you have to test your settings by clicking the Test button. The Lookup test dialog appears.
Enter a string in the Value field and click Execute. The result is displayed and the OK button becomes active.
After a test is executed, the bottom information line displays the query execution details.
After test execution, the Store test values checkbox appears: mark this checkbox to automatically fill the form on subsequent tests.
Note:
The checkbox appears only after a test is executed. If there is no filter which requires a value, the checkbox does not appear.
Click the OK button to close the Lookup test dialog. Now the OK button on the Lookup editor window is also active, click it to have the new lookup appear in the Lookup result keys list.
The following table describes the settings available on the Settings tab. The tab provides you with further configuration options for customizing the Extender workflows.
Category |
Setting |
Description |
---|---|---|
General |
Separator for multiple values |
Use this to set the separator character for the query results. (Used only if the Lookup behavior setting is set to Multiple values or not required.) |
If lookup fails |
Use this dropdown to set the behavior of the extender in case the lookup does not produce results. You can select the following:
|
|
Show validation screens |
Checking this option results in the extender displaying the validation screen on the MFP screen, allowing you to check the query settings once more prior to running the query. |
|
Validation screens |
Batch-based |
By checking this option, the user is asked for a selection/entry at each batch process; if left unchecked, the user is asked for a selection/entry only once. |
Header text/value |
Defines a label in the form header; the actual header is <your value> | 1/4 where the user is at batch 1 of 4. Note: The icon might overlap the title of the Lookup result filter screen, if the default text is too long for specific languages. To avoid this, type a shorter text here. |
|
Search on |
|
|
Data review screen |
Enabled |
When Data review screen is enabled, the last lookup's value is used on the review screen. |
Header text/value |
Defines a label in the form header; the actual header is <your value> | 1/4 where the user is at batch 1 of 4. |
|
Confirmation is required |
Mark this checkbox to confirm previously specified settings. |