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

Mashup does not load in the Interaction portal

SA-83875

Summary



Pega 7.4 content displays in the Pega Customer Service 8.2 Interaction portal through the Pega Web Mashup using the Mashup script in a section as below,

<!-- ********************** Begin Pega content ********************** -->
<script src ='http://host:port/prweb?pyactivitypzZZZ=f65e44220d71af46086c0cb8f0bdad54a6c8d58b2c8d89046ddaf89a7472571676db2635b247be73063591ef1c481f7a*'></script>
<div data-pega-gadgetname ='PegaGadget
data-pega-action ='display' 
data-pega-action-param-harnessname ='MashUpHarness' 
data-pega-action-param-classname ='GCS-Mortgage-Work
data-pega-action-param-model ='' 
data-pega-action-param-readonly ='false' 
data-pega-isdeferloaded ='false' 
data-pega-applicationname ='Mortgage' 
data-pega-threadname ='STANDARD' 
data-pega-systemid ='PEGA74_CS74_TOMCAT8'
data-pega-resizetype ='stretch' 
data-pega-url ='http://host:port/prweb/IAC'
data-pega-redirectguests ='true'
data-pega-action-param-parameters="{UserIdentifier:'SimonMashUpOperator', Password:'cnVsZXM='}">
</div>


Pega 7.4 content  displays when the operator creates the first Interaction task.



However, on creating another Interaction task, the Mashup content fails to display.




Error Messages

Not Applicable


Steps to Reproduce

  1. Create Mashup script in a Pega CS 7.4.
  2. Include the Mashup code in a Pega CS 8.2.
  3. Launch an Interaction. The MashUp code fetches the data correctly.
  4. Launch another interaction. The MashUp code fails to fetch data.


Root Cause



A defect in Pegasystems’ code or rules.


Resolution

Perform the following steps:
  1. Apply HFix-54804 in Pega 7.4 which contains the MashUp content.
  2. Modify the MashUp code as below:

    Original code  (Non-working)

    <script src ='http://host:port/prweb?pyactivitypzZZZ=a9832644a0fe2ba640969ad2d21946eb986153c4acaae35506e87774e298e20f61105a1899032b8e6d5a0c6168aaf350*'></script>
    <div data-pega-gadgetname ='PegaGadget
    data-pega-action ='display' 
    data-pega-action-param-harnessname ='MashUpHarness' 
    data-pega-action-param-classname ='GCS-Mortgage-Work
    data-pega-action-param-model ='' 
    data-pega-action-param-readonly ='false' 
    data-pega-isdeferloaded ='false' 
    data-pega-applicationname ='Mortgage' 
    data-pega-threadname ='STANDARD' 
    data-pega-systemid ='PEGA74_CS74_TOMCAT8'
    data-pega-resizetype ='stretch' 
    data-pega-url ='http://host:port/prweb/IAC'
    data-pega-redirectguests ='true'
    data-pega-action-param-parameters="{UserIdentifier:'SimonMashUpOperator', Password:'cnVsZXM='}">
    </div>

     

    Modified code (Working)

    <pega:onlyonce name="MashupScriptsCustom">
    <pega:static type="script" app="webwb">
    <pega:file name="PegaCompositeGadgetMgr.js"/>
    <pega:file name="pzpega_postmessage.js"/>
    <pega:file name="pzpega_web_mashup.js"/>
    <pega:file name="pzpega_web_mashup_hostActionsProcessor.js"/>
    </pega:static>
    </pega:onlyonce>

    <div data-pega-gadgetname ='PegaGadget<%= java.lang.System.currentTimeMillis() %>'
    data-pega-action ='display' 
    data-pega-action-param-harnessname ='MashUpHarness' 
    data-pega-action-param-classname ='GCS-Mortgage-Work
    data-pega-action-param-model ='' 
    data-pega-action-param-readonly ='false' 
    data-pega-isdeferloaded ='false' 
    data-pega-applicationname ='Mortgage' 
    data-pega-threadname ='STANDARD' 
    data-pega-systemid ='PEGA74_CS74_TOMCAT8'
    data-pega-resizetype ='stretch' 
    data-pega-url ='http://host:port/prweb/IAC'
    data-pega-redirectguests ='true'
    data-pega-action-param-parameters="{UserIdentifier:'SimonMashUpOperator', Password:'cnVsZXM='}">
    </div>

Published August 19, 2019 - 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?

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