Support Article
Pega Web Mashup gadget loads incorrectly
SA-49810
Summary
The Pega Web Mashup gadget embedded in the Angular JS application loads incorrectly. This results in gadget distortion and exposing the entire Pega UI.Error Messages
Unable to load the image
Steps to Reproduce
Access the application through the end portal or website.
Root Cause
There were two issues identified:
- Pega content security policy for CSS was set to Self
- End portal was in HTTP and the Pega application was running in HTTPS
Resolution
Perform the below local-change:
- Set the Content Security Policy for CSS to Unsafe Inline
- Add a redirection rule to redirect all the HTTP traffic to HTTPS in Pega application server
Published February 20, 2018 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.