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 OOTB height function is not calculating the height.

SA-1048

Summary



Unable to display work object, screen does not render correctly.

Error Messages



Screen is not getting loaded completely and if we minimize and maximize then screen is going blank and displaying a empty screen.


Steps to Reproduce



Screen is not getting loaded completely and if we minimize and maximize then screen is going blank and displaying a empty screen.


Root Cause



The root cause of this problem is a defect in customer application code/rules. Height of the iframe wasnot being calculated properly. As the iframe has CAFrame and Frameset inside it. It's happening only with a kind of WO.




Resolution



This issue is resolved through the following local change: 


pega.u.d.registerResize(function(){
if(window.frameElement && window.frameElement.style)
{
window.parent.frameElement.style.height = document.getElementById('HARNESS_CONTENT').scrollHeight + "px";
window.parent.frameElement.style.width=990;
}
},true);


Has been used in scripts and styles tab of Harness.

Published January 31, 2016 - 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