Hi,
Background: I implemented a custom action called "PrintCaseInformation". I put below additional configuration in the "PrintCaseInformation.java". So that I can use this action in the Case Builder.
public JSONObject getAdditionalConfiguration(Locale locale) {
String JSONString = "{\"ICM_ACTION_COMPATIBLE\": true,\"context\": null,\"name\": \"Print Case Information\",\"description\": \"This action fetches and shows Case Properties \",\"properties\": [{\"id\": \"label\",\"title\": \"label\",\"defaultValue\": \"\",\"type\": \"string\",\"isLocalized\": false},{\"id\": \"message\",\"title\": \"message\",\"defaultValue\": \"\",\"type\": \"string\",\"isLocalized\": false}]}";
try
{
return JSONObject.parse(JSONString);
}
catch (IOException e)
{
e.printStackTrace();
}
return null;
}
Result: I could able to view this action in the Case Builder(Case Details Page --> Case Toolbar drop down). I assigned this action to Case Details Page. Deployed the solution.
Issue: The tool bar is visible in the case details page of a case in case manager client. But it is not enabled.
Testing: I assigned the same action for SearchResultsContextMenu. I retrieved some folders using Folder search. This action is enabled and works.
Can anyone please suggest me what is the root cause of the issue.
------------------------------
RAVI KUMAR
------------------------------