Creating an external data service for IBM Content Navigator
Use the EDS REST protocol to create an external data service that specifies requests to get data from an external data source to customize field properties and manage property behavior in IBM Content Navigator. You implement an external data service as a web application.
Before you begin
Understand which properties and areas in IBM Content Navigator you can customize through an external data service.
Review the specifications for defining an object types request and a particular object type request.
You
need the following skills to implement an external data service:
- Java™
- Java 2 Platform, Enterprise Edition
- Implement a web application with two services, for example, two Java servlets
- Read and write JSON
About this task
As you design your service, consider the following tips
to improve the usability of your choice lists and other field properties:
- Reduce the size of choice lists by adding properties that can narrow subsequent lists
- For example, you can use questions to narrow the scope of the list, or use dependencies between properties to break long choice lists into shorter choice lists.
- Create dependent choice lists
- Dependent choice list values are replaced with a different list depending on the value that is selected in the preceding parent list. For example, you can set up Region and Branch Office choice lists, where the Branch Office list depends on the Region list selection. If the user selects a different region, the Branch Office list is cleared and populated by a different list of branch offices.
- Implement custom validation so that users can immediately resolve any errors in data entry.
- For example, if you implement text fields that have character restrictions, instead of using a custom validation error message to display only a description of the error, you can also provide users with a list of the unsupported characters so that users can avoid typing those characters in the future.
Procedure
To create an external data service: