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

Pega scripts are throwing errors if frames are included



User is including iframe in the header or side navigation.

On including the iframe, user is seeing script errors.

Error Messages

Steps to Reproduce

  1. Create a harness and a section included in it. 
  2. Drag a text input and change its control to CustomControl. 
  3. Create a customcontrol(non-auto generated html) with the below line in it: 
    1. Omit extra spaces > unselected 
    2. HTML source: <iframe src=""></iframe> 
  4. Launch the portal and one can find script errors from changetracker.js file. 
    1. Script error: Uncaught DOM exception: Blocked a frame with the origin from accessing a cross-origin frame.

Root Cause

A defect in Pegasystems’ code or rules.


Apply HFix-30894.


Published January 4, 2017 - Updated October 8, 2020

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