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

Dynamic tabbed layouts do not work in Pega Web Mashup

SA-58755

Summary



Work objects do not open in the configured tabbed layout. This occurs when using Pega Web Mashup to display a user portal.


Error Messages



Not Applicable


Steps to Reproduce

  1. Configure a section with tabbed layout
  2. Add the section in a harness.
  3. Add the harness in the Mashup code
  4. Run the Mashup code


Mashup code: 

<script src ='https://<prpc_url>/prweb/PRServlet?pyActivity=pzIncludeMashupScripts'>
</script>
<div
data-pega-gadgetname ='PegaGadget'
data-pega-action ='display'
data-pega-action-param-classname ='Data-Portal'
data-pega-action-param-harnessname ='<End_User_Portal>'
data-pega-action-param-model =''
data-pega-isdeferloaded ='false'
data-pega-applicationname ='<appName>'
data-pega-threadname ='STANDARD'
data-pega-systemid ='pega'
data-pega-resizetype ='stretch'
data-pega-url ='https://<prpc_url>/prweb/PRServlet' ></div>


The harness displayed is the harness used in a composite portal definition. 


Root Cause



Display action is not sufficient to initialize the user portal.
 

Resolution



Use the below data-pega-action to initialize and display the user portal.

<script src ='https://<prpc_url>/prweb/PRServlet?pyActivity=pzIncludeMashupScripts'>
</script>
<div
data-pega-gadgetname ='PegaGadget'
data-pega-action ='OpenWorkByURL
data-pega-action-param-query ='pyActivity=Data-Portal.ShowDesktop' 
data-pega-action-param-model =''
data-pega-isdeferloaded ='false'
data-pega-applicationname ='<appName>'
data-pega-threadname ='STANDARD'
data-pega-systemid ='pega'
data-pega-resizetype ='stretch'
data-pega-url ='https://<prpc_url>/prweb/PRServlet' ></div>



 

Published July 23, 2018 - Updated December 2, 2021

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?

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