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

JavaScript errors Pega Web Mashup in Polymer component

SA-37079

Summary



Users who need to standardize their Pega Web Mashups to take adavantage of Polymer components for their front-end capabilities cannot do so. They also want to provide Pega user interface elements to their front-end capabilities using Pega Web Mashup.

To comply with the users' enterprise application development standards, Pega Web Mashup needs to work as a Polymer web component.

Attempts to create a Polymer component that contains the Pega Web Mashup caused JavaScript errors.
(The user reporting this problem chose not to submit log files showing the errors.)

Error Messages



Not Provided


Steps to Reproduce



Try to create a Polymer component that contains the Pega Web Mashup using the following sample code:

<link rel="import" href="https://community.pega.com/../bower_components/polymer/polymer.html">
<link rel="import" href="https://community.pega.com/shared-styles.html">
<script src="https://community.pega.com/./webComponentPOC/PegaInternetApplicationComposer.js"></script>
<dom-module id="pega-view1">
<template>
<style include="shared-styles">
:host {
display: block;
padding: 10px;
}
</style>

Polymer({
is: 'pega-view1'
});
</script>
</dom-module>


Root Cause

A defect in Pegasystems' code or rules
The Pega Web Mashup PegaInternetApplicationComposer.js file cannot work with the Polymer shadow DOM.


Resolution



Apply HFix-32503.

Published May 12, 2017 - Updated October 8, 2020

Was this useful?

100% 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