You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/blog/2025/05/displaying-embeded-webpages-on-node-red-dashboard.md
+29-31Lines changed: 29 additions & 31 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
---
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.
5
5
date: 2025-05-14
6
6
authors: ["sumit-shinde"]
7
7
image:
@@ -10,33 +10,33 @@ tags:
10
10
- flowfuse
11
11
---
12
12
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.
14
14
15
15
<!--more-->
16
16
17
17
## Why Embed Webpages in Your Dashboard?
18
18
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:
20
20
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.
22
26
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.
28
28
29
29
## How to Embed Webpages On your FlowFuse Dashboard
30
30
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.
32
32
33
-
### Prequastie.
33
+
### Prerequisites
34
34
35
35
Before you begin embedding webpages on FlowFuse Dashboard, make sure you have the following:
36
36
37
37
-**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).
38
38
-**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.
40
40
41
41
#### Step 1: Obtain the URL or Embed Code of the Webpage You Want to Embed
42
42
@@ -48,24 +48,24 @@ Some websites may restrict embedding through iframes due to [Cross-Origin Resour
48
48
49
49
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.
50
50
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.
52
52
53
-
#### Step 2: Embedding the Webpage in FlowFuse Dashboard
53
+
#### Step 2: Embedding the Webpage on FlowFuse Dashboard
54
54
55
55
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:
56
56
57
57
##### 2.1 Embed via URL
58
58
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:
60
60
61
-
1. Drag the ui_iframe node onto the canvas.
61
+
1. Drag the **ui_iframe** node onto the canvas.
62
62
2. Double-click the node to open its configuration dialog.
63
63
- Create a new group for it to render in.
64
64
- Set the size (width and height).
65
65
- Enter the URL you want to embed.
66
-
3. Click Done and then Deploy.
66
+
3. Click **Done** and then **Deploy**.
67
67
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.
69
69
70
70

71
71
_Weather widget embedded in FlowFuse Dashboard_
@@ -81,9 +81,9 @@ _Google Calendar embedded in FlowFuse Dashboard_
81
81
82
82
##### 2.1 Embed via HTML Embed Code
83
83
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:
85
85
86
-
1. Drag the ui_template widget onto the canvas.
86
+
1. Drag the **ui_template** widget onto the canvas.
87
87
2. Double-click on it to open its configuration dialog.
88
88
- Create a new group for it to render in.
89
89
- 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
98
98
</script>
99
99
```
100
100
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.
104
102
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.
106
104
107
105
{data-zoomable}
108
106
_Animated weather widget on the Flowfuse dashboard, embedded with code._
109
107
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.
111
109
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.
113
111
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:
115
113
116
114
### Enabling Embedding of FlowFuse Dashboards
117
115
118
116
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"**
120
118
121
119
{data-zoomable}
122
120
_FlowFuse instance settings showing the option to allow dashboard embedding in an iframe._
123
121
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.
125
123
126
124
[{data-zoomable}](https://flowfuse.com/blueprints/manufacturing/oee-dashboard/)
127
125
_FlowFuse OEE Dashboard embedded in another FlowFuse dashboard._
0 commit comments