External Url in Dialog

Is it possible to load an external webpage in a dialog window ? I tried using javascript
execute code on the load event of the dialog:
{

var myWindow = window.open("my external url", "_self");
}

But that opens in a new window

Here is an example:

Open dialog page with desired url as parameter:

Initialize url page property from parameters.url in dialog page load:

Set <iframe [src]='url | safe' frameborder='0' style='width:600px;height:400px;'></iframe> as HTML component content in dialog page:

run the app

2 Likes

this step : Set <iframe [src]='url | safe' frameborder='0' style='width:600px;height:400px;'></iframe> as HTML component content in dialog page:

I am unsure how to get to that selection ... thanks in advance

Select the HTML component from Outline or component selector:

Open the Content property binding editor:

Set the value in the Expression tab: