I am trying to do the following using a web mashup in Pega 7.2.2 but facing challenges in getting the expected behavior:
Embed the CSFS interaction portal home page as a web mashup (not the entire portal but the userDashboard only). When the user would click on the assignments from the todo / workbasket/ recent list it should open up the interaction / service cases in a new mashup ( another gadget in the web page). This is not working as expected. The assignment does open in a new gadget (using actiondefinitions on the previous gadget) but once the case is submitted the screen goes balnk on the new gadget. I would like the interactiondriver to be loaded as it happens in a normal Interaction portal.
Another major issue is to have the pega gadget PUSH information to the main web page and have it refreshed each time a new interaction case is either created or opened from the assignment link.
This has been a major challenge from technical validation perspective as well. Can anyone suggest a way to handle these? I understand that there are a limited set of functionalities available with the mashups and it is not possible to access the CPM js objects from the mashup code.
This is quiet difficult to understand from outside what is the root cause of this issue. Pega OOTB mash capabilities has several limitations as you are aware and many customization required to achieve the objective. Can you pls share some code snippet where you are suspecting problem for me to understand the issue?
I have provided the snippet below. The problem here is with the inter application communication and also the change in the default behavior of Pega CRM when the context changes from portal to mashup. The interaction cases are opening in a mashup but the behavior of the intent tasks / service cases are not as same as when accessed via interaction portal. The service cases / intents can be queued in mashup , but they cannot be processed in the sequential manner ( as possible in the OOTB portal).
we would like to retain all the functionalities and behavorial patterns from the portal in a mashup.
<title>KMP Launch Demo</title>
<div id="buttonDiv" style="overflow:auto">
<button id="button1" name="button1" onclick="refreshOtherDiv();">Click me to refresh </button>
My intention in the code snippet is to make sure that the user returns to the starting screen (here the interaction driver for the case) once the confirm buttin is clicked from the service cases which are created from the interaction case. At this moment the mashup is loading a blank screen on clicking the confirm button and the context to the interaction case is lost.
Here are the sequence of events I would like to happen inside the Mashup:
1. Initially load the mashup with the perform harness of an Interaction case ---- This is working as expected.
2. User would queue up multiple service tasks using the interaction driver.-- This is also working as expected.
3. User proceeds with the first intent task and creates the service case. Once the service case is processed to completion, the user is taken to a confirm harness (OOTB) to confirm the closure of the service case. The expectation is ( as it happens in the OOTB interaction portal) the user is redirected to the perform harness of the interaction case to start processing the second queued item. This is not working as expected. On clicking the confirm button the user is shown a blank screen and the contest / connection to the interaction case is lost.
I hope this clarifies the scenario I am working on .
Sorry for late reply. I was away from work. I saw your code snippet. Did you try with a different skin? For CPM framework the skin is used CPMML6. Pls check if this is the underlying problem and let me know.