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

issues with Pega DOM

SA-31559

Summary



Embedded an applet using a <object id="EApplet" codebaseurl="URL"/>.. in the screen layout header.


This applet id is used to invoke the methods.
While trying to invoke a method in javascript using the applet id EApplet it is unrecognizable from the Case perform harness., the same is working as expected when invoked on click of a button placed in the header.




Error Messages



Not Applicable

Steps to Reproduce

  1. Add an anchor tag in the screen layout header and try to refer the id of anchor from the case perform harness
  2. It is not able to pick the id.


Root Cause



Id is outside the iframe , so not able to recognise the element.

Resolution



Get Element by : top.document.getElementById("elementId")
Able to get the element with the above code.
Suggest Edit

Published February 3, 2017 - Updated October 8, 2020

Did you find this content helpful? Yes No

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

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