-
Type:
New Feature
-
Status: Done
-
Priority:
Medium
-
Resolution: Done
-
Affects Version/s: None
-
Fix Version/s: Integration with CBAT
-
Labels:None
-
Company:All Clients/Multiple Clients
-
Epic Link:
Embedded UI Double Scroll Issue
Below script provided by CBATS team , needs to add on pages example create template.
// Get height of document
function getDocHeight(doc)
// send docHeight onload
function sendDocHeightMsg(e) {
var ht = getDocHeight();
parent.postMessage( JSON.stringify(
), '*' );
}
// assign onload handler
if ( window.addEventListener )
else if ( window.attachEvent )
{ // ie8 window.attachEvent('onload', sendDocHeightMsg); }
Hi Samir,
We were able to successfully integrate the javascript into create document template typescript file and also were able to send value from iframe to parent.
CC:Rohan J Khandave,Swapnil Pandhare