Hover over the “IBM Content Navigator” menu option.To add new functionality to the project, follow the steps below: Luckily, IBM has made adding new functionality to a plug-in a simple process. It is necessary to add new functionality to the plug-in. jar plug-in file will be at the root of the project.Ī base plug-in has no functional purpose. To do this, follow the steps below:Įclipse’s console will log information related to the building process being performed, including errors that occurred as well as when the build has completed. The included “build.xml” file is an Ant script and can be run to build the plug-in. jar plug-in file is a straightforward process. To enter debug mode in IBM Content Navigator, simply append “&debug=true” to the URL.īuilding the.
css files is helpful when you wish to have the ability to debug your code in a production environment, as it is a best practice to compress all client-side assets for best performance. NOTE: Having a debug version of both your plug-in.
css file contains all plug-in related styles you wish to include. js file handles all global scope functions. The root of the directory contains the initial. The “WebContent” directory contains all of the client-side assets, including. java files that are added to the plug-in to include new functionality will be added here. At the base of the Java package directory is the plug-in. The “src” directory contains all of the plug-in assets.
The root of the project contains a “build.xml” file, as well as a “src” directory. See the sample plug-in project structure below. Simply follow the New Project wizard to create the new plug-in.Īll newly created plug-in projects start with the same base structure. Once your Eclipse environment has been set up with the necessary plug-ins described above, you will be able to select “Content Navigator Plug-in” as a new project as shown in the image below. jar file to the machine you are developing on so it is available for each plug-in developed. jar plug-in files to the “dropins ” directory within your Eclipse install: “C:/path/to/eclipse/dropins “įor each plug-in you develop, you will also need to reference the navigatorAPI.jar file located within the “lib” directory of the IBM Content Navigator installation directory.
To install the plug-ins for Eclipse, follow the steps below:
The plug-in files are located in “SG248055/usecases/Chapter 3 Setting up the development environment.” These are provided with the IBM Redbook “ Customizing and Extending IBM Content Navigator.” The “SG248055.zip” file contains many additional resources referenced in the Redbook. All of the instructions in this post are for Eclipse, but should be easily translatable to RADS.īefore you are able to develop plugins, you will need to install the IBM Content Navigator and External Data Services plug-ins for Eclipse. Creating a new plug-in is as simple as creating a new project in Eclipse or RADS. IBM made it simple to get started with plug-in development. To start, let’s quickly understand the different functionalities you can add within Content Navigator:Ĭreating a New IBM Content Navigator Plug-In Developing plug-ins can be a bit intimidating, so here are some basics for IBM Content Navigator plug-in development. IBM Content Navigator provides a fantastic mechanism to include custom functionality through the use of plug-ins.