We have released a developer works article on how to convert a sample custom search widget from IBM Case Manager 5.1.1 to IBM Case Manager 5.2 using Dojo and Model API calls. The code contains both the IBM Case Manager 5.1.1 custom search widget and the IBM Case Manager 5.2 widget. This article also contains best practices on how to build an IBM Case Manager v5.2.x custom widget and how to separate the business logic from the content pane.
This zip file contains the pdf needed for you to understand how to develop a custom widget for IBM Case Manager 5.2.
You can find the article here:
If there are any questions or if you want to reach the author, please reach out at email@example.com.
Edit September 30, 2013:
We have released version 2 to the custom search widget here and updated it to the link above. In version 2, we have cleaned up the widget workspace folder and removed the nexus.jar file as you should be building your custom widgets in IBM Case Manager V5.2 with your own navigatorapi.jar. More details are discussed in the article.
Also, the custom search widget has been updated to dynamically search on any solution with any property. It is not restricted to Credit Card Dispute Management solution anymore.
Edit March 11, 2014:
With the help of Ming Liang Guo, we have released version 3 for the custom search widget. We have refactored the code to separate the business logic of the widget from the content pane dijit. The article has been updated with best practices on how to construct an IBM Case Manager v5.2.x custom widget.
We have updated the custom search widget to either generate a search template payload or a ceQuery payload. For IBM Case Manager v5.2 fix pack 1, the code of creating a search payload has been changed and we have included examples in the article and in the code to accomplish this.
Edit July 30, 2014:
Fixed some small items with the custom search widget to make sure it has a callback function in the custom search widget for IBM Case Manager v5.2.1 and later. Also, we have renamed the widget package, jar file, and ear file to avoid name collisions with other widget packages.
Edit September 5, 2014:
We have removed the code from this article and merged it into the custom widget tutorial that can be found here:
The custom widget package there now has the latest custom search widget code for ICM 5.2.1 with many other custom widgets. The article here has updated custom widget best practices and keeps the steps and guidelines to consider when converting a custom search widget.