Folks,
We are trying to integrate external web service with Taskspace WDK component.
Web Service returns a newly created objected, which needs to be launched in Adobe Reader.
We tried something like below but nothing seems to be launching or at least we are not seeing anything on tomcat console.
We are doing this in the Component Container’s onOk() event.
--------------------------------------------------------------------------------------------------------------------------------------
getContext().set("type", "cdcr_cfile_doc");
ArgumentList mashupArgs = new ArgumentList();
mashupArgs.add("objectId",resultDmInstanceDocId);
mashupArgs.add("type", "cdcr_cfile_doc");
mashupArgs.add("contentType", "pdf");
boolean retVal = ActionService.execute("taskspaceview", mashupArgs, getContext(), this, null);
System.out.println("Action retVal ["+retVal+"]");
If you have tried “taskspaceview”, “editafternew”, “editfile” action before, please give me some pointers.
Any quick pointers would be great help.
-Harsh