In CRM 2015 / CRM 2013 you can resize ifram setting style by following way
var iframe = parent.Xrm.Page.ui.controls.get('WebResource_Address');
parent.Xrm.Page.ui.controls.get(
'WebResource_Name').getObject().style.height =
(iframe.getObject().contentWindow.document.body.offsetHeight) +'px';
No comments:
Post a Comment