Product Documentation
Abstract
Datacap Navigator is based on IBM Content Navigator. hence, you can customize it with some common ICN customization features, such as ICN plug-in and EDS. You can also customize field panels using Datacap custom panel feature.
Content
Notice: The purpose of this document is to provide a general introduction to Datacap Navigator customization. It is not intended for documenting/updating differences for different versions. Refer the IBM Documentation for detailed information.
Customizing Datacap Navigator with new ICN plug-in
In the ICN plug-in, you can create new actions and some other features.
- Refer the ICN Knowledge Center for more details about creating plug-ins to IBM Content Navigator- https://www.ibm.com/support/knowledgecenter/en/SSEUEX_3.0.4/com.ibm.developingeuc.doc/eucso000.htm
- You can find a sample plug-in at the location: %DatacapDir%\tmweb.java\samples\DCSamplePlugin. For example, C:\Datacap\tmweb.java\samples\DCSamplePlugin
-
Refer the below link for Datacap Navigator JavaScript model API
https://www.ibm.com/support/knowledgecenter/en/SSZRWV_9.0.0/com.ibm.dc.modelapi.doc/index.html
Step by step guide for creating a new action
1. Action definition
It is defined in a java file, and getActionFunction() returns its JavaScript function name.
Figure 1. Action definition
2. Action registration
Register the action, so that ICN knows which actions are defined in this plug-in.
Figure 2. Action registration
3. Function definition
Create a JavaScript function, and add your code here, so when users click the Action in ICN toolbar, this function is executed. The function accepts some parameters.
Figure 3. Function definition
4. Build
Build the plug-in with Ant
Figure 4. Build
5. Output
A jar file is created, and it is ready to deploy to ICN.
Figure 5. Output
Customizing Datacap Navigator with EDS
Customizing Datacap Navigator field panels with custom panel
Refer the below link for details:
https://www.ibm.com/support/knowledgecenter/SSZRWV_9.1.4/com.ibm.dc.install.doc/dcnvi004.htm
Add newly built DCSamplePlugin.jar to ICN in ICN admin desktop as shown in the figure below.

- Create a copy of selected task menu (here, verify task) where you wish to add custom action button.
- Under available, you can see “Refresh Image” action of DCSamplePlugin.jar. Add the action to menu, save and close.

In Menu settings of desktop, you can select newly created menu for the task.
(In the following figure, we have selected newly created menu VerifyWithRefreshImage for verify
task)


Document Location
Worldwide
Was this topic helpful?
Document Information
More support for:
IBM Datacap
Software version:
All Versions
Operating system(s):
Windows
Document number:
793839
Modified date:
28 February 2022
UID
ibm10793839