Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

OpenAssignment does not open the work item

SA-12716

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>

This initializes and loads the user's default portal. 

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

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us