Constructing a URL for Datacap Navigator
You can construct a URL that an external application can use to access Datacap Navigator features and actions. You can append parameters to the URL that run actions and open Datacap Navigator pages.
To construct and use a URL to access Datacap Navigator features and actions:
- Open the Datacap Navigator main page
- https://myserver.mycompany.com:myport/navigator/?desktop=datacap
&feature=DatacapMainFeature&sideChrome=0 - View the history of a batch with an associated queue ID
- https://myserver.mycompany.com:myport/navigator/?desktop=datacap
&feature=DatacapMainFeature&sideChrome=0&dcAction=
viewBatchHistoryPluginAction&dcQueueID=3 - View the history of a batch with an associated Station ID
- You can view history of a batch with an associated Station ID. For example, if you used Station ID as Lansing, then after scanning, the scan batches show the Station ID as Lansing.
- Run a queue
- https://myserver.mycompany.com:myport/navigator/?desktop=datacap
&feature=DatacapMainFeature&sideChrome=0&dcAction=
executeBatchPluginAction&dcQueueID=3 - Run a Verify shortcut with a specified job (Web job) and task (Verify)
- https://myserver.mycompany.com:myport/navigator/?desktop=datacap
&feature=DatacapMainFeature&sideChrome=0&dcShortcut=
Verify&dcJob=Web%20Job&dcTask=Verify - Run a Verify shortcut without specifying a job and task
- https://myserver.mycompany.com:myport/navigator/?desktop=datacap
&feature=DatacapMainFeature&sideChrome=0&dcShortcut=Verify - Authenticating without single sign-on (SSO)
-
If you are not using SSO, you can authenticate with an IBM Content Navigator web service call (
jaxrs/logon) that has the following parameters in the body:desktop,userid,password, andcontextPath. When the request succeeds, the logon session to the IBM Content Navigator server is returned. Then, you can use a URL to access Datacap batches in the authentication repository of that desktop.Your Datacap application must be specified as the default authentication repository for your desktop. To handle cross-domain restrictions, you can put the logon result into an iFrame to know when the logon request completes and when you can access your Datacap batches. See the following example of a logon that uses a form submit request:
<form action="https://myserver:myport/navigator/jaxrs/logon" method="post" target="output_frame"> <input type="text" name="desktop" value="datacap" style="display:none;"></input> <input type="text" name="contextPath" value="/navigator" style="display:none;"> </input> <input type="text" name="userid" value="admin" style="display:none;"></input> <input type="text" name="password" value="admin" style="display:none;"></input> <input type="submit" value="Go to Navigator" /> </form>Tip: If a logon window is displayed in Internet Explorer when you access Datacap Navigator with a URL, you can resolve this issue by adding the Datacap Navigator IP or domain address to your list of managed sites. In Internet Options, on the Privacy tab, click Sites. Then, in the Per Site Privacy Actions window, enter the Datacap Navigator IP or domain address in the Address of website box and click Allow.