
I created a custom form, in this form, it has an iframe. but the form page in different size browsers, the iframe can not fit the window.
see the snapshot:
I found a function to resize the iframe height(https://community.dynamics.com/crm/f/microsoft-dynamics-crm-forum/103395/setting-iframe-height-programmatically)
But I don't know what value to set the height.
How can I get the form height and the first section height? or other method to set the iframe height to fit the form window?
Hi Songkun,
If you refer following link, which not use form height and the first section height.
https://www.inogic.com/blog/2009/02/automatically-resize-the-iframe-to-adjust-to-the-form-size/
If not, could you provide detailted link? Or snapshot about JS.
Also, when you use JS to set Iframe height, don’t forget Check ‘Automatically expand to use available space’
Regards,
Leah Ju