Skip to content

Commit 9675d4a

Browse files
Update displaying-embeded-webpages-on-node-red-dashboard.md
1 parent 581699c commit 9675d4a

1 file changed

Lines changed: 29 additions & 31 deletions

File tree

src/blog/2025/05/displaying-embeded-webpages-on-node-red-dashboard.md

Lines changed: 29 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
2-
title: "How to Embed Webpages in the FlowFuse Dashboard"
3-
subtitle: Learn how to embed external content like maps, reports, and widgets into your FlowFuse dashboard.
4-
description: Learn how to embed external web pages such as maps, reports, and widgets into your FlowFuse dashboard. Follow this guide for easy, step-by-step instructions on improving your dashboard's functionality and collaboration.
2+
title: "How to Embed Webpages on the FlowFuse Dashboard"
3+
subtitle: Learn how to embed external content like maps, reports, and widgets onto your FlowFuse dashboard.
4+
description: Learn how to embed external web pages such as maps, reports, and widgets onto your FlowFuse dashboard. Follow this guide for easy, step-by-step instructions on improving your dashboard's functionality and collaboration.
55
date: 2025-05-14
66
authors: ["sumit-shinde"]
77
image:
@@ -10,33 +10,33 @@ tags:
1010
- flowfuse
1111
---
1212

13-
Building a dashboard in FlowFuse is not just about displaying internal data it’s about centralizing all the resources your team needs. FlowFuse makes it easy to embed external content like live dashboards, maps, PDFs, and videos directly into your dashboard. This helps eliminate switching between tabs and keeps everything in one place. This guide will show you how to embed these elements seamlessly into your FlowFuse dashboard for a more efficient and collaborative workspace.
13+
When you build a dashboard, sometimes you need more than just internal data. Maybe it’s a live map, a report hosted elsewhere, or another dashboard — whatever it is, having to switch tabs breaks the flow. FlowFuse lets you embed external content like web pages, dashboards, PDFs, and widgets right into your dashboard. This guide shows you how to do exactly that — step by step — so your team has everything they need, all in one place.
1414

1515
<!--more-->
1616

1717
## Why Embed Webpages in Your Dashboard?
1818

19-
Less Switching: You won't have to jump between tabs or apps. Everything you need is right in front of you.
19+
Embedding external content directly into your FlowFuse dashboard can make your life a lot easier. Here’s why it’s worth considering:
2020

21-
Use What You Already Have: If you’ve already built a chart, report, or page elsewhere, embed it; there is no need to recreate it.
21+
- **Streamline Your Workflow:** No more hopping between tabs or switching apps. Everything you need can be in one place.
22+
23+
- **Save Time on Rework:** If you’ve already built a report, chart, or page somewhere else, just embed it into your dashboard. No need to start from scratch.
24+
25+
- **Quick Decisions:** Having all your key data together helps you see what’s important at a glance and act faster.
2226

23-
- Faster Decisions: With all your important information in one place, it's easier to understand what’s happening and act quickly.
24-
25-
- Keep Everyone on the Same Page: A shared dashboard ensures your team looks at the same data and updates.
26-
27-
- Save Time, Every Day: Fewer clicks and less back-and-forth means more focus and better time use.
27+
- **Cut Down on Clicks:** The fewer actions needed to get to your information, the more time you can spend on actually getting things done.
2828

2929
## How to Embed Webpages On your FlowFuse Dashboard
3030

31-
Embedding external content into your FlowFuse dashboard is simple.
31+
Embedding external content into your FlowFuse dashboard is straightforward and flexible. In this section, you'll learn two ways to do it: using a direct URL and using embed code. We’ll also cover common issues you might face and how to fix them. Lastly, you'll see how to embed one FlowFuse dashboard inside another, making it easier to centralize important views in one place.
3232

33-
### Prequastie.
33+
### Prerequisites
3434

3535
Before you begin embedding webpages on FlowFuse Dashboard, make sure you have the following:
3636

3737
- **Running FlowFuse Instance:** Make sure you have a FlowFuse instance set up and running. If you don't have an account, check out our [free trial](https://app.flowfuse.com/account/create).
3838
- **FlowFuse Dashboard:** Ensure you have [FlowFuse Dashboard](https://flows.nodered.org/node/@flowfuse/node-red-dashboard) (also known as Node-RED Dashboard 2.0 in the community) installed and properly configured on your instance.
39-
- **@flowfuse/node-red-dashboard-2-ui-iframe:** Ensure you have [node-red-contrib-sqlite](https://flows.nodered.org/node/@flowfuse/node-red-dashboard-2-ui-iframe) installed.
39+
- **@flowfuse/node-red-dashboard-2-ui-iframe:** Ensure you have [node-red-dashboard-2-ui-iframe](https://flows.nodered.org/node/@flowfuse/node-red-dashboard-2-ui-iframe) installed.
4040

4141
#### Step 1: Obtain the URL or Embed Code of the Webpage You Want to Embed
4242

@@ -48,24 +48,24 @@ Some websites may restrict embedding through iframes due to [Cross-Origin Resour
4848

4949
Many platforms, such as YouTube and Google Maps, provide a specific "embed code or URL" that is more suitable for embedding. Ensure you use the correct embed link or code these platforms offer to guarantee smooth integration.
5050

51-
Once the URL (or embed code) is ready, move on to the next step.
51+
Once the URL or embed code is ready, move on to the next step.
5252

53-
#### Step 2: Embedding the Webpage in FlowFuse Dashboard
53+
#### Step 2: Embedding the Webpage on FlowFuse Dashboard
5454

5555
Now that you’ve gathered the URL or embed code for the external content you want to embed, it’s time to add it to your FlowFuse dashboard. Below are two methods for embedding external content:
5656

5757
##### 2.1 Embed via URL
5858

59-
The easiest and most straightforward way to embed external content is by using the URL. FlowFuse's ui_iframe node allows you to use an external URL directly. Here’s how to do it:
59+
The easiest and most straightforward way to embed external content is by using the URL. FlowFuse's iframe node allows you to use an external URL directly. Here’s how to do it:
6060

61-
1. Drag the ui_iframe node onto the canvas.
61+
1. Drag the **ui_iframe** node onto the canvas.
6262
2. Double-click the node to open its configuration dialog.
6363
- Create a new group for it to render in.
6464
- Set the size (width and height).
6565
- Enter the URL you want to embed.
66-
3. Click Done and then Deploy.
66+
3. Click **Done** and then **Deploy**.
6767

68-
You can use the weather widget, Google Map embedded URL, or PDF URL for quick testing. Below, I’ve included an image of a dashboard with the weather widget, Google Maps, and PDF embedded.
68+
For a quick hands-on practice, you can try embedding a weather widget, Google Maps, Google Calendar, or a hosted PDF on your dashboard.
6969

7070
![Weather widget embedded in FlowFuse Dashboard](./images/weather-widget.png)
7171
_Weather widget embedded in FlowFuse Dashboard_
@@ -81,9 +81,9 @@ _Google Calendar embedded in FlowFuse Dashboard_
8181

8282
##### 2.1 Embed via HTML Embed Code
8383

84-
If you have an embed code from third-party services, you can use this HTML code to embed the content into your FlowFuse dashboard. Here’s how to do it:
84+
If you have an embed code from third-party services, you can use this code to embed the content into your FlowFuse dashboard. Here’s how to do it:
8585

86-
1. Drag the ui_template widget onto the canvas.
86+
1. Drag the **ui_template** widget onto the canvas.
8787
2. Double-click on it to open its configuration dialog.
8888
- Create a new group for it to render in.
8989
- Set the size (width and height).
@@ -98,30 +98,28 @@ If you have an embed code from third-party services, you can use this HTML code
9898
</script>
9999
```
100100

101-
Some services provide an iframe tag. In this case, you need only copy the URL and use the embedding via the URL method.
102-
103-
4. click Done and Deploy to save your changes once you've added the code.
101+
Some services provide an **iframe** tag. In this case, you need only copy the URL and use the embedding via the URL method.
104102

105-
Following is the image of the dashboard on which we are embedding the animated weather widget on the FlowFuse dashboard using embed code.
103+
4. Click **Done** and **Deploy** to save your changes once you've added the code.
106104

107105
![Animated weather widget on the Flowfuse dashboard, embedded with code.](./images/weather-widget.gif){data-zoomable}
108106
_Animated weather widget on the Flowfuse dashboard, embedded with code._
109107

110-
Now that you’ve learned how to embed external content into your FlowFuse dashboard, you might have tried embedding your FlowFuse dashboard into other websites or another FlowFuse dashboard and found that it is not working as expected.
108+
Now that you’ve learned how to embed external content into your FlowFuse dashboard, one day you may need to embed your FlowFuse dashboard elsewhere—either on another FlowFuse dashboard or an external site. If you’ve tried and found that it’s not working as expected.
111109

112-
This is a security feature designed to protect your data. FlowFuse dashboards, like many other web applications, implement security policies such as Cross-Origin Resource Sharing (CORS) and the X-Frame-Options header. These policies ensure that your dashboard is only viewed in trusted environments, preventing malicious sites from potentially tampering with your data or exposing it to unauthorized users.
110+
This is a security feature designed to protect your data. FlowFuse dashboards, like many other web applications, implement security policies such as Cross-Origin Resource Sharing (CORS) and the X-Frame-Options header. These policies ensure that your dashboard is only viewed in trusted environments, preventing malicious sites from tampering with your data or exposing it to unauthorized users.
113111

114-
However, if you really need to embed your FlowFuse dashboard into other websites or another FlowFuse dashboard, it is actually possible to do so with some configuration changes. Following is the section on how to enable embedding securely:
112+
However, if you need to embed your FlowFuse dashboard into other websites or on another FlowFuse dashboard, it’s possible to do so with some configuration changes. Below is a section on how to enable embedding securely of FlowFuse Dashboard:
115113

116114
### Enabling Embedding of FlowFuse Dashboards
117115

118116
1. Go to your FlowFuse instance settings.
119-
2. Switch to the editor settings and enable "Allow Dashboard to be embedded in an iFrame."
117+
2. Switch to the **editor** settings and enable **"Allow Dashboard to be embedded in an iFrame"**
120118

121119
![FlowFuse instance settings showing the option to allow dashboard embedding in an iframe.](./images/allow-dashboard-embedding.png){data-zoomable}
122120
_FlowFuse instance settings showing the option to allow dashboard embedding in an iframe._
123121

124-
3. Click Save Settings and restart your instance for the changes to take effect.
122+
3. Click **Save Settings and restart** your instance for the changes to take effect.
125123

126124
[![FlowFuse OEE Dashboard embedded in another FlowFuse dashboard.](./images/embedding-flowfuse-oee-dashboard.png){data-zoomable}](https://flowfuse.com/blueprints/manufacturing/oee-dashboard/)
127125
_FlowFuse OEE Dashboard embedded in another FlowFuse dashboard._

0 commit comments

Comments
 (0)