We’ve been working on this article. Please let us know how useful this new version is by voting.
You can use the Iframe UI Pattern to display information from other apps, on your screen, in bite-size previews. For more information about Iframes, see HTML Iframes.
How to use the Iframe UI Pattern
In Service Studio, in the Toolbox, search for
The Iframe widget is displayed.
If the UI widget does not display, it may be because you used a ready-made app, which deletes unused widgets from the module. To make additional widgets available in your app:
a. Go to Module > Manage dependencies.
b. Search for and select the relevant Producer, for example OutSystemsUI. Ensure Show All is selected.
c. On the Public elements for the selected Producer displayed on the right, ensure Show All is selected.
d. Search for and select the element you want to add, and click Apply.
e. In Service Studio, in the Toolbox, search for the widget again.
From the Toolbox, drag the Iframe widget into the Main Content area of your application's screen.
On the Properties tab, set the relevant properties, for example, the source URL, its title, as well as its width and height. In this example, we use the Wikipedia Website.
Note: The target destination must have the necessary security permissions that allow you to embed their website in your app.
After following these steps and publishing the module, you can test the pattern in your app.
|SourceURL (Text): Mandatory||The target URL that loads on the Iframe.
|Title (Text): Optional||Iframe title.
|Height (Text): Optional||Iframe height (default is 100%).
|Width (Text): Optional||Iframe width (default is 100%).