Samples for IBM Content Navigator
The IBM Content Navigator software package includes several samples: a plug-in, the external data service plug-in, and a set of web pages. You can use these samples to create custom applications.
You can download the samples from GitHub (https://github.com/ibm-ecm/ibm-content-navigator-samples ) and then add them to the ECMClient_installdir directory.
Sample external data service
- Simple validation using regular expressions
- Choice lists
- Dependent choice lists
- Workflow-specific choice lists
The sample web pages are available in the ECMClient_installdir\samples\sampleEDSService directory.
Sample web pages
This sample web application provides HTML pages that use IBM Content Navigator modeling classes and widget classes. The pages demonstrate different aspects of the IBM Content Navigator toolkit.
The sample web pages are available in the ECMClient_installdir\samples\samplePages directory.
Sample plug-in application
The sample plug-in implements a plug-in that demonstrates several extension capabilities available to plug-in writers. The files in this sample application show you how to create custom components such as a custom viewer, menus, features, and services for use in the IBM Content Navigator web client.
The sample plug-in also includes code that shows you how to use action handling for custom file uploads. This functionality in the sample includes client single file upload control, server access of the uploaded document in the plug-in action, and sample file manipulation code.
The files for the sample plug-in are available in the ECMClient_installdir\samples\samplePlugin directory. The SamplePlugin.jar file that you can deploy by using the IBM Content Navigator administration tool is available in the ECMClient_installdir\navigator directory.
Task | Files and description |
---|---|
Create a plug-in | The following files must be used to instantiate
plug-ins and methods:
|
Create a custom menu action | The following sample files can be used to create
a custom menu action:
|
Create a custom menu | The following sample files can be used to create
a custom menu:
|
Create a custom feature | The following sample files can be used to create
a custom feature:
|
Create a custom layout | The following sample files can be used to create
a custom feature:
|
Create a custom repository type | The following sample files can be used to create
a custom repository type:
|
Create a request or response filter | The following sample files can be used to create a request or response filter:
|
Create a custom service | The following sample files can be used to create
a custom service:
|
Create a custom service that uploads files | The following sample files can be used to create a custom service that
uploads files:
|
Create a custom viewer | The following sample files can be used to create
a custom viewer:
|
Create a custom widget | The following sample files can be used to create
a custom widget:
|
Create a custom section in the properties pane |
|
Create a custom property editor | The following sample files can be used to create a custom property editor:
|