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

Full portal does not initialize correctly with IAC

SA-12704

Summary



A portal harness is displayed with IAC. It initially displays correctly but usage of the portal is incorrect.

For example:

When clicking Get Next button, no request is submitted to server from browser using fiddler.
When opening an existing work object it displays in a popup window instead of the Work Area tab.


Error Messages



Not Applicable


Steps to Reproduce



Use IAC Gadget with PegaA parameter of display and a PegaA_harness parameter value.

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 correctly through Data-Portal.ShowDesktop. The correct 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 will initialize and load the users default portal. 

if the portal is dynamic, this can be accomplished by calling a custom activity that sets pxThread.pxPortal and then calling the 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



Change the IAC gadget to call Data-Portal.ShowDesktop to correctly initialize and display and portal.

Published August 11, 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