Support Article
OpenAssignment does not open the work item
Summary
After upgrading from PRPC 6.3 SP1 to Pega 7.1.8, users witness issues with ListView. On one of the list view, the single and double click events are configured to launch/open the workobject using the WorkListViewFragment customized version. When the report is opened in Internet Application Composer (IAC), the click events is getting triggered but openAssignment does not show the workobject.
Error Messages
Not Applicable.
Steps to Reproduce
Use a IAC Gadget with PegaA parameter of display and a PegaA_harness parameter value that a end user portal harness.
Example:
<div id="PegaContent" style="overflow:auto;"
PegaGadget="showCompPortal"
PegaResize="stretch"
PegaA="display"
PegaA_harnessName="User"
PegaA_pzPrimaryPage="pyPortal"
PegaDefer="false">
</div>
Root Cause
When displaying a full end user portal with IAC the portal has to be initialized properly via Data-Portal.ShowDesktop. The proper way to accomplish this step is to use a gadget that calls Data-Portal.ShowDesktop.
<div id="PegaContent" style="overflow:auto"
PegaGadget="showCompPortal"
PegaResize="stretch"
PegaA="OpenWorkByURL"
PegaA_query="pyActivity=Data-Portal.ShowDesktop"
PegaDefer="false"
</div>
If the portal is dynamic this can be accomplished by calling a custom activity that sets pxThread.pxPortal and then calling Data-Portal.ShowDesktop:
<div id="PegaContent" style="overflow:auto"
PegaGadget="showCompPortal"
PegaResize="stretch"
PegaA="OpenWorkByURL"
PegaA_query="pyActivity=Data-Portal.ShowDynamicPortal"
PegaDefer="false"
</div>
Resolution
The IAC gadget has been changed to call Data-Portal.ShowDesktop to properly initialize and display end user portal.
Published July 31, 2015 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.