Automatically Resize Height of iFrame Containing External URLs

Hi all,

How do I get an iframe to resize based on the height of a page of an external URL?

I need to load external URLs and then be able to reference their page height.

  1. This iframe height needs to change when a new URL is loaded into its frame.
  2. I need to be able to then reference this height (global variable is fine).

I have tried the solution in this post but this has only worked for local pages and not newly loaded URLs.

Is there a way to do this? I have attached an .RP file for reference.


HelpfulWidget-v3.rp (127.0 KB)


Unfortunately, for external URLs, you almost assuredly won’t be able to get information about the size of the webpage due to security concerns. On every external webpage I tried I got a cross-origin security error.

1 Like