# Hide/show db2 subflow instances on different pages

**URL:** https://discourse.nodered.org/t/hide-show-db2-subflow-instances-on-different-pages/100461
**Category:** General
**Tags:** dashboard-2
**Created:** [26 February 2026 15:49 UTC](https://discourse.nodered.org/t/hide-show-db2-subflow-instances-on-different-pages/100461 "2026-02-26T15:49:35Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![psmtvdw](https://avatars.discourse-cdn.com/v4/letter/p/e480ec/32.png) [@psmtvdw](https://discourse.nodered.org/u/psmtvdw)
#### Post date: [26 February 2026 15:49 UTC](https://discourse.nodered.org/t/hide-show-db2-subflow-instances-on-different-pages/100461/1 "2026-02-26T15:49:35Z")

</div>

Hi,

Suppose i want to create a dashboard footer and re-use it on each page. A logic solution to me would be to put all of my footer elements in a subflow and use an instance for each page. On top of that, on a certain page, one element can not be shown, so the footer is dynamic and depends on which page it is shown. Can all of this be done using subflows, context variables and ui-control? I have read the documentation about this topic [Subflows | Node-RED Dashboard 2.0](https://dashboard.flowfuse.com/user/subflows) but the example is about variations on the same page, using different groups. So not exactly the same.

---

<div class="post-metadata">

### Author: ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)
#### Post date: [26 February 2026 15:58 UTC](https://discourse.nodered.org/t/hide-show-db2-subflow-instances-on-different-pages/100461/2 "2026-02-26T15:58:39Z")

</div>

> [@psmtvdw](#):
>
> Suppose i want to create a dashboard footer and re-use it on each page

Sounds you need to teleport the footer: [Template ui-template | Node-RED Dashboard 2.0](https://dashboard.flowfuse.com/nodes/widgets/ui-template#teleports)

---

<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: [12 March 2026 15:59 UTC](https://discourse.nodered.org/t/hide-show-db2-subflow-instances-on-different-pages/100461/3 "2026-03-12T15:59:11Z")

</div>

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