Table of Contents

Cannot embed a mashup in a Pega application


Only available versions of this content are shown in the dropdown

Ensure that your mashups loads successfully when you embed a mashup in a Pega application.


The mashup does not load when you try embedding it in a Pega application.


When you try to embed a Pega web mashup inside a Pega application instead of a web page, the mashup needs to comply with the pzIncludeMashupScripts activity of the host site, without a mismatch in the code stack between different Pega Platform versions.


  • Do not include the pzIncludeMashupScripts script tag in any section of the application, because this script tag overwrites the existing Pega JavaScript object. Include the following custom mashup scripts to ensure that mashup loading, resizing, and registration behaves as expected for the host web site:

    <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"/>
Did you find this content helpful?

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.