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

Full page does not load while opening a work item from MDM profi



Full page does not load while opening a work item and scroll bar is coming.
The work around is to minimum/maximize the window in order to get the page to display fully

Error Messages


Steps to Reproduce

Open any WO from the portal .
The work item does not display fully.

Root Cause

The iframe that has the contents of the Work Object, is not getting the right height.
If we set the height according to the content of the iframe, the behavior could be rectified.


Following local-change solution was provided inside a section in the Perform Harness :

function test()
var test = window.parent.flag;
if(typeof test == "undefined"){
window.parent.flag = 1;
var obj = window.parent.document.getElementById("pega_gadgetContainer");
var iframeObj =null;
for(var j=0;j<obj.childNodes.length;j++)
iframeObj = obj.childNodes[j].firstChild;
var ht = window.parent.innerHeight ||  window.parent.document.body.clientHeight || window.parent.document.documentElement.clientHeight;
ht = ht - (getYCord(iframeObj)+13);
if(iframeObj.contentWindow.document.body.scrollHeight <= ht) = iframeObj.contentWindow.document.body.scrollHeight + "px";
function getYCord(elem)
return elem.offsetParent ? (elem.offsetTop + getYCord(elem.offsetParent)): elem.offsetTop;
Suggest Edit

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