Support Article
IAC, Screen is not displaying the entire content in IE
SA-30555
Summary
User has exposed the case by using Pagemashup(i.e. IAC), when user launched the IAC gadget in window, some of the screens are not loading as expected in IE. However in Chrome those screens were loading as expected.
We have observed that iFrame(gadget) height is not calculated as expected in IE, however in Chrome it is calculated as expected.
Error Messages
Not Applicable.
Steps to Reproduce
- Configure a case.
- Get the mashup code for that case and embed the code in external url
Root Cause
A defect in Pegasystems’ code or rules :
In IE browser, resize window is not calling as expected.
Resolution
Perform the following local-change:
After placing below code in UserWorkForm, now it is working as expected.
<script>
pega.Mashup.gadgetActionsProcessor = function(notifiedData) {
var actionInfo = notifiedData.payload, data, notifyHost = false;
switch(actionInfo.name) {
case "registerResize":
document.body.style.overflowY = "hidden";
pega.u.d.registerResize(pega.u.d.mashupResizeHandler);
if(pega && pega.u && pega.u.d && pega.u.d.resizeHarnessCallback){
pega.u.d.resizeHarnessCallback();
}
break;
case "print":
window.focus();
window.print();
break;
case "getGadgetData":
data = pega.Mashup.getGadgetData(actionInfo);
notifyHost = true;
break;
case "setGadgetData":
data = pega.Mashup.setGadgetData(actionInfo);
notifyHost = true;
break;
case "getGadgetInfo":
data = pega.Mashup.getGadgetInfo(actionInfo);
notifyHost = true;
break;
case "reload":
pega.Mashup.reloadGadget();
break;
}
if(notifyHost){
pega.Mashup.notifyHost(notifiedData,data);
}
};
</script>
Published November 22, 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.