Skip to main content

 

 

 

 

Template:OutSystems/Documentation_KB/Breadcrumb_New_Layout

 

 

Template:OutSystems/OSLanguageSwitcher

 

Applies only to Traditional Web Apps

 

 

OutSystems

Iframe

Template:OutSystems/Documentation_KB/ContentCollaboration
  • Edit
    Collaborate with us
    Edit this page on GitHub
  • 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

    1. In Service Studio, in the Toolbox, search for Iframe.

      The Iframe widget is displayed.

    2. From the Toolbox, drag the Iframe widget into the Main Content area of your application's screen.

    3. 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.

    Properties

    Property Description
    SourceURL (Text): Mandatory The target URL that loads on the Iframe.

    Examples

    Title (Text): Optional Iframe title.

    Examples

    • "Wikipedia Website" - Displays Wikipedia Website as the Iframe title
    Height (Text): Optional Iframe height (default is 100%).

    Examples

    • "100%" - The iframe height is 100%
    • 200 - The iframe is 200 pixels high
    Width (Text): Optional Iframe width (default is 100%).

    Examples

    • "100%" - The iframe width is 100%
    • 200 - The iframe is 200 pixels wide
    • Was this article helpful?