# iFrame

With the "iFrame" widget, you can embed websites into the BuildingPro Suites dashboard.

The embedded pages are interactive. This means you can operate the embedded pages within the widget. For example, it is possible to scroll through the pages, perform searches, etc.

<div data-full-width="true"><figure><img src="https://3489494878-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9GvUpaatBiReR43XFSMg%2Fuploads%2F5yKnRpnawbuKoSHLlfJf%2FBildschirmfoto%202023-09-28%20um%2011.27.18.png?alt=media&#x26;token=c9c2a577-c29d-406c-9bd0-a6f00a8bfcd7" alt=""><figcaption><p>The German Wikipedia, embedded in a dashboard via the "iFrame" widget. Wikipedia can be used as usual within the widget</p></figcaption></figure></div>

{% hint style="warning" %}
**Caution!** Not all websites can be embedded. Website owners can prohibit their website from being embedded. These websites cannot be embedded.
{% endhint %}

## When should this widget be used?

The "iFrame" widget is well-suited for displaying news in a -> Smart Assist View, for example.

Because the embedded websites are interactive, the widget can also be used to keep technical documentation handy.

## Configure Widget

{% @supademo/embed url="<https://app.supademo.com/demo/tCKwB7W9kyOCqXBwQWbdS>" demoId="tCKwB7W9kyOCqXBwQWbdS" fullWidth="true" %}

1. Make sure you are in the "Dashboard" menu
2. Click on "Add widget"
3. Click on "View"
4. Click on "iFrame"
5. Select the primary asset. The name of this asset will appear in the title bar of the widget.
6. Enter the URL of the website to be embedded in the widget. **IMPORTANT**: Enter the complete URL, including the prefix ("http\://" or "https\://"). It is best to copy the URL of the website from your browser's address bar.
7. Enter a minimum height in pixels for the widget.
8. Optional: Select how much space your new widget should occupy on the dashboard.
9. Click on "Add widget"


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.buildings.ability.abb/collection/platform/live-cockpit/widgets/predefined-widgets/iframe.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
