# I have problem with ui template when i switch tab menu

**URL:** https://discourse.nodered.org/t/i-have-problem-with-ui-template-when-i-switch-tab-menu/68568
**Category:** Dashboard
**Created:** [4 October 2022 20:05 UTC](https://discourse.nodered.org/t/i-have-problem-with-ui-template-when-i-switch-tab-menu/68568 "2022-10-04T20:05:54Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![bertaudnicolas](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bertaudnicolas/32/59627_2.png) [@bertaudnicolas](https://discourse.nodered.org/u/bertaudnicolas)
#### Post date: [4 October 2022 20:05 UTC](https://discourse.nodered.org/t/i-have-problem-with-ui-template-when-i-switch-tab-menu/68568/1 "2022-10-04T20:05:54Z")

</div>

if i switch to an another tab and come back to the initial tab i lost content in template  
i observe if i reload the page from the browser it fix the problem

so my need isto find a way by flow to reload the dashboard. i have found several topic on this subject but i don't succed to understand due to missing shared flow

is there a simple way to do it

---

<div class="post-metadata">

### Author: ![bertaudnicolas](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bertaudnicolas/32/59627_2.png) [@bertaudnicolas](https://discourse.nodered.org/u/bertaudnicolas)
#### Post date: [4 October 2022 20:17 UTC](https://discourse.nodered.org/t/i-have-problem-with-ui-template-when-i-switch-tab-menu/68568/2 "2022-10-04T20:17:16Z")

</div>

in fact i have seen solution with Ui control node but my ui control node report only a string and not a msg object with information payload tab name socketid socketip  
is there an evolution for this ? i m using the node-red-dashboard 3.2.0 and node-red  
2.2.2

---

<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: [4 October 2022 20:39 UTC](https://discourse.nodered.org/t/i-have-problem-with-ui-template-when-i-switch-tab-menu/68568/3 "2022-10-04T20:39:01Z")

</div>

Welcome to the forum @bertaudnicolas

> [@bertaudnicolas](#):
>
> my ui control node report only a string

Feed the ui\_control node into an Debug node which is configured to Output Complete Message. See what it shows in the debug pane. Post a screenshot if you don't see what is described in the node's help text.

---

<div class="post-metadata">

### Author: ![bertaudnicolas](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bertaudnicolas/32/59627_2.png) [@bertaudnicolas](https://discourse.nodered.org/u/bertaudnicolas)
#### Post date: [4 October 2022 21:13 UTC](https://discourse.nodered.org/t/i-have-problem-with-ui-template-when-i-switch-tab-menu/68568/4 "2022-10-04T21:13:28Z")

</div>

Hello and thank you. you are my saviour. I had it in my head that the problem came from the UI control node and I did not think that the problem could be the debug. what a rookie mistake!

---

<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: [18 October 2022 21:14 UTC](https://discourse.nodered.org/t/i-have-problem-with-ui-template-when-i-switch-tab-menu/68568/5 "2022-10-18T21:14:20Z")

</div>

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