In many cases when you have some certain requirement in Case Work Details page with requirement to forward/assign the “icm.model.Case.caseIdentifier” property value from a widget to another website widget or external webpage.
- First of all add website widget, rename it to some different on Case Work Details Page and wire its incoming event like;
- Add hidden script adaptor on Case Work Details Page and add the following code (Modify as per your requirements):
var thisobj = this;
var caseID = caseObject.caseIdentifier;
var url = “http://icmserver.ibm.com/upload/upload.php?CASEID=”+caseID;
// return payload;
- Wire its incoming and outgoing wiring as described below:
Once these changes made, caseidentifier will be pass/assigned to website widget and results will be displayed on that website widget. e.g.
Note: this code for both ICM5.2.x and ICM5.3.x.