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
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.