The Content control is in essence an Inline Frame (iFrame) representing a nested browsing context, effectively embedding another View, Form, or website into the current View/Form. Documents and videos that are embedded in a website can also be used in the URL of the Content control. Each browsing context has its own session history and active document. The browsing context that contains the embedded content is called the parent browsing context. The top-level browsing context (which has no parent) is typically the browser window. The Content control can be used to insert content from another source, such as an advertisement, into a View/Form. Although an iFrame behaves like an inline image, it can be configured with its own scrollbar independent of the surrounding View/Form's scrollbar.
In the following example we used the URL of a List View in the Content control.
The URL of a View or a Form can be accessed in the Properties section on the Finish screen of the View or Form Designer.
The List View will open as an embedded item in the Customer Item View at Runtime.
We will use an Item View with a Content control to show how the control can be used to display a website within a View. Follow the steps below to set up the scenario.
- Create an Item View with a Content control.
- Type the URL of the website in the Properties section of the control.
- Select the option to Show Preview in the Properties > General section.
- The website loads in the Content control.
- Finish the View.
- When running the View, the website is displayed within the View and is accessible from within the View.