# Dashboard 2 - ui-link node

**URL:** https://discourse.nodered.org/t/dashboard-2-ui-link-node/87990
**Category:** Dashboard
**Tags:** dashboard-2
**Created:** [15 May 2024 18:38 UTC](https://discourse.nodered.org/t/dashboard-2-ui-link-node/87990 "2024-05-15T18:38:33Z")
**Posts on this page:** 18
**Page:** 1

<div class="post-metadata">

### Author: ![Paul-Reed](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/paul-reed/32/66906_2.png) [@Paul-Reed](https://discourse.nodered.org/u/Paul-Reed)
#### Post date: [15 May 2024 18:38 UTC](https://discourse.nodered.org/t/dashboard-2-ui-link-node/87990/1 "2024-05-15T18:38:33Z")

</div>

Just been reading about the recently added [ui-link node](https://dashboard.flowfuse.com/nodes/config/ui-link.html), and haven't a clue what it does 😲

Anyone any ideas of what this would be used for, and maybe a scenario?

---

<div class="post-metadata">

### Author: ![Sean-McG](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/sean-mcg/32/54677_2.png) [@Sean-McG](https://discourse.nodered.org/u/Sean-McG)
#### Post date: [15 May 2024 18:59 UTC](https://discourse.nodered.org/t/dashboard-2-ui-link-node/87990/2 "2024-05-15T18:59:44Z")

</div>

As far as I can see it seems the same as the dashboard 1 version.  
It displays an icon, which opens a link to the specified URL.

---

<div class="post-metadata">

### Author: ![Paul-Reed](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/paul-reed/32/66906_2.png) [@Paul-Reed](https://discourse.nodered.org/u/Paul-Reed)
#### Post date: [15 May 2024 19:05 UTC](https://discourse.nodered.org/t/dashboard-2-ui-link-node/87990/3 "2024-05-15T19:05:33Z")

</div>

> [@Sean-McG](#):
>
> As far as I can see it seems the same as the dashboard 1 version.

I haven't used dashboard 1 for a number of years so no idea.

> [@Paul-Reed](#):
>
> Anyone any ideas of what this would be used for, and maybe a scenario?

Any ideas?

---

<div class="post-metadata">

### Author: ![arturv2000](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/arturv2000/32/88724_2.png) [@arturv2000](https://discourse.nodered.org/u/arturv2000)
#### Post date: [15 May 2024 19:11 UTC](https://discourse.nodered.org/t/dashboard-2-ui-link-node/87990/4 "2024-05-15T19:11:59Z")

</div>

Check the video on the github PR

[https://github.com/FlowFuse/node-red-dashboard/pull/845](https://github.com/FlowFuse/node-red-dashboard/pull/845)

---

<div class="post-metadata">

### Author: ![Sean-McG](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/sean-mcg/32/54677_2.png) [@Sean-McG](https://discourse.nodered.org/u/Sean-McG)
#### Post date: [15 May 2024 19:15 UTC](https://discourse.nodered.org/t/dashboard-2-ui-link-node/87990/5 "2024-05-15T19:15:02Z")

</div>

It literally just navigates to the link, e.g. it could take you to the google search page or a Grafana dashboard etc.

---

<div class="post-metadata">

### Author: ![Paul-Reed](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/paul-reed/32/66906_2.png) [@Paul-Reed](https://discourse.nodered.org/u/Paul-Reed)
#### Post date: [15 May 2024 19:22 UTC](https://discourse.nodered.org/t/dashboard-2-ui-link-node/87990/6 "2024-05-15T19:22:32Z")

</div>

> [@Sean-McG](#):
>
> e.g. it could take you to the google search page or a Grafana dashboard

Isn't it just url's relative to the node-RED base url?  
It errors with full url's

---

<div class="post-metadata">

### Author: ![Sean-McG](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/sean-mcg/32/54677_2.png) [@Sean-McG](https://discourse.nodered.org/u/Sean-McG)
#### Post date: [15 May 2024 19:26 UTC](https://discourse.nodered.org/t/dashboard-2-ui-link-node/87990/7 "2024-05-15T19:26:35Z")

</div>

I don't have dashboard 2 installed, but that's how it works in D1.  
If you use the iframe option then some sites do not allow embedding, try with new tab.

---

<div class="post-metadata">

### Author: ![Paul-Reed](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/paul-reed/32/66906_2.png) [@Paul-Reed](https://discourse.nodered.org/u/Paul-Reed)
#### Post date: [15 May 2024 19:32 UTC](https://discourse.nodered.org/t/dashboard-2-ui-link-node/87990/8 "2024-05-15T19:32:35Z")

</div>

> [@Sean-McG](#):
>
> e.g. it could take you to the google search page

In fact now my dashboard does not even load now, all I did was add [https://www.bbc.co.uk/](https://www.bbc.co.uk/) to a ui-link, deployed which did not work, so I deleted the ui-link from the sidebar, deployed and voila - no dashboard...

```auto
15 May 19:23:48 - [info] Updated flows
15 May 19:23:48 - [info] Starting modified nodes
15 May 19:23:48 - [warn] [ui-base:Dashboard] Theme 'undefined' specified in page '9a7620fff0058760' does not exist
15 May 19:23:48 - [info] Started modified nodes
15 May 19:24:24 - [info] [ui-base:Dashboard] Disconnected PV0lJbrXf4xw0x8oAAAm due to transport close
15 May 19:24:42 - [info] [ui-base:Dashboard] Disconnected qUC2nVfKQ_cVS64AAAAo due to transport close

```

**EDIT** - a search for `9a7620fff0058760` shows the ui-link page.

---

<div class="post-metadata">

### Author: ![Sean-McG](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/sean-mcg/32/54677_2.png) [@Sean-McG](https://discourse.nodered.org/u/Sean-McG)
#### Post date: [15 May 2024 19:33 UTC](https://discourse.nodered.org/t/dashboard-2-ui-link-node/87990/9 "2024-05-15T19:33:45Z")

</div>

Over and out 😜

---

<div class="post-metadata">

### Author: ![Paul-Reed](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/paul-reed/32/66906_2.png) [@Paul-Reed](https://discourse.nodered.org/u/Paul-Reed)
#### Post date: [15 May 2024 19:42 UTC](https://discourse.nodered.org/t/dashboard-2-ui-link-node/87990/10 "2024-05-15T19:42:13Z")

</div>

@Sean-McG Cheers mate 😆

* * *

Found it, despite removing the link-ui correctly from the sidebar, it left it's config file behind.

![ui](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/f/3/f3788bc844de47fb5ee41ec04a8d7f0389b59818.jpeg)

Deleting it, and rebooting sorted it.

---

<div class="post-metadata">

### Author: ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)
#### Post date: [15 May 2024 19:42 UTC](https://discourse.nodered.org/t/dashboard-2-ui-link-node/87990/11 "2024-05-15T19:42:35Z")

</div>

> [@Paul-Reed](#):
>
> voila - no dashboard...

I think that is worthy of an issue submission.

---

<div class="post-metadata">

### Author: ![Paul-Reed](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/paul-reed/32/66906_2.png) [@Paul-Reed](https://discourse.nodered.org/u/Paul-Reed)
#### Post date: [15 May 2024 19:57 UTC](https://discourse.nodered.org/t/dashboard-2-ui-link-node/87990/13 "2024-05-15T19:57:11Z")

</div>

I've repeated the process a further twice, and it does not appear repeatable.  
So no idea what went wrong...  
The ui-link does load external url's OK (but of course it navigates away from node-RED in doing so).

---

<div class="post-metadata">

### Author: ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)
#### Post date: [15 May 2024 20:15 UTC](https://discourse.nodered.org/t/dashboard-2-ui-link-node/87990/14 "2024-05-15T20:15:02Z")

</div>

> [@Paul-Reed](#):
>
> The ui-link does load external url's OK

What did you put in the url? It didn't work for me, it appended it to the dashboard url.

---

<div class="post-metadata">

### Author: ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)
#### Post date: [15 May 2024 20:21 UTC](https://discourse.nodered.org/t/dashboard-2-ui-link-node/87990/15 "2024-05-15T20:21:02Z")

</div>

OK, I worked it out. If you put a full url such as [https://www.google.com](https://www.google.com) then it works.

---

<div class="post-metadata">

### Author: ![Paul-Reed](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/paul-reed/32/66906_2.png) [@Paul-Reed](https://discourse.nodered.org/u/Paul-Reed)
#### Post date: [15 May 2024 22:36 UTC](https://discourse.nodered.org/t/dashboard-2-ui-link-node/87990/16 "2024-05-15T22:36:00Z")

</div>

@joepavitt - Apart from the video link kindly re-posted by @arturv2000 for the Worldmap example, I'm not seeing anything useful for this addition, and no other user has any suggestions either.  
What am I missing?  
Are there any usage examples, to justify this being a useful core addition?

---

<div class="post-metadata">

### Author: ![joepavitt](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/joepavitt/32/59722_2.png) [@joepavitt](https://discourse.nodered.org/u/joepavitt)
#### Post date: [16 May 2024 04:34 UTC](https://discourse.nodered.org/t/dashboard-2-ui-link-node/87990/17 "2024-05-16T04:34:12Z")

</div>

> [@Paul-Reed](#):
>
> It errors with full url's

It shouldn't... what URL did you try?

> [@Paul-Reed](#):
>
> What am I missing?  
> Are there any usage examples, to justify this being a useful core addition?

Please do remember that the Discourse forum represent a small portion of Node-RED users. I'd had multiple people ask me for this over the past 12 months or so. It was also a core node in Dashboard 1.0 too, so helps with our mission of feature parity there.

Please do raise any issues around bugs you find with it.

An example from a user perspective is linking off to older Dashboars 1.0's to assist with migration, where D1.0 can have link nodes back again.

From a commercial perspective, it provides links to documentation, support or other tools that relate to the Dashboard-at-hand

---

<div class="post-metadata">

### Author: ![Paul-Reed](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/paul-reed/32/66906_2.png) [@Paul-Reed](https://discourse.nodered.org/u/Paul-Reed)
#### Post date: [16 May 2024 08:44 UTC](https://discourse.nodered.org/t/dashboard-2-ui-link-node/87990/18 "2024-05-16T08:44:34Z")

</div>

> [@joepavitt](#):
>
> what URL did you try?

As I said above...

> [@Paul-Reed](#):
>
> all I did was add [https://www.bbc.co.uk/](https://www.bbc.co.uk/) to a ui-link

I've raised an issue with more information - [ui-link - theme undefined · Issue #868 · FlowFuse/node-red-dashboard · GitHub](https://github.com/FlowFuse/node-red-dashboard/issues/868)

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)
#### Post date: [15 June 2024 08:45 UTC](https://discourse.nodered.org/t/dashboard-2-ui-link-node/87990/19 "2024-06-15T08:45:25Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
