# Disable storeOutMessages and resendOnRefresh in Dashboard 2.0 Template

**URL:** <https://discourse.nodered.org/t/disable-storeoutmessages-and-resendonrefresh-in-dashboard-2-0-template/101464>\
**Category:** FlowFuse\
**Tags:** dashboard-2\
**Created:** [13 July 2026 05:34 UTC](https://discourse.nodered.org/t/disable-storeoutmessages-and-resendonrefresh-in-dashboard-2-0-template/101464 "2026-07-13T05:34:53Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![hipatel93](https://avatars.discourse-cdn.com/v4/letter/h/dfb087/32.png) [@hipatel93](https://discourse.nodered.org/u/hipatel93)\
**Post date:** [13 July 2026 05:34 UTC](https://discourse.nodered.org/t/disable-storeoutmessages-and-resendonrefresh-in-dashboard-2-0-template/101464/1 "2026-07-13T05:34:53Z")

</div>

Hi everyone,

I have a question regarding the **Dashboard 2.0 `ui-template` node**.

At the moment, whenever I need to disable **`storeOutMessages`** and **`resendOnRefresh`** , I have to edit the flow's `.json` file manually:

- `storeOutMessages: false`
- `resendOnRefresh: false`

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/b/0/b059cb10c39f843843f0b862a8d9819181d1916c.png)

Is there a way to disable these options directly from the **Node-RED editor** instead of modifying the JSON file?

If this is not currently supported, is there a recommended approach or is it something that could be added as an option in the node configuration?

I frequently use `ui-template` nodes where I don't want previous messages to be stored or resent when the dashboard reconnects or refreshes, so having these settings available in the editor would make configuration much easier.

Thanks in advance for any advice or suggestions.

---

<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:** [13 July 2026 10:30 UTC](https://discourse.nodered.org/t/disable-storeoutmessages-and-resendonrefresh-in-dashboard-2-0-template/101464/2 "2026-07-13T10:30:20Z")

</div>

Do you need both? If resend on refresh is disabled, does it matter whether the node remembers the last message?

---

<div class="post-metadata">

**Author:** ![hipatel93](https://avatars.discourse-cdn.com/v4/letter/h/dfb087/32.png) [@hipatel93](https://discourse.nodered.org/u/hipatel93)\
**Post date:** [14 July 2026 02:04 UTC](https://discourse.nodered.org/t/disable-storeoutmessages-and-resendonrefresh-in-dashboard-2-0-template/101464/3 "2026-07-14T02:04:26Z")

</div>

Actually, I need only; the template should not send out on refresh the page. But normally I turn off both for the safer side.

---

<div class="post-metadata">

**Author:** ![kuema](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/kuema/32/6542_2.png) [@kuema](https://discourse.nodered.org/u/kuema)\
**Post date:** [14 July 2026 04:46 UTC](https://discourse.nodered.org/t/disable-storeoutmessages-and-resendonrefresh-in-dashboard-2-0-template/101464/4 "2026-07-14T04:46:45Z")

</div>

That fact that the `msg` inside the template instance get's overwritten after each `send()` has been nagging me a while, too.

I found out about `storeOutMessages` the hard way when I was trying to send partial messages as input using different topics and update the instance data incrementally inside the template.

The template also has some controls that send out messages, but every time I sent an action my data was replaced by the "action" message. Result: The UI was empty until new input data arrived.  
(My workaround to this day is composing a complete message beforehand and send that as input. Not ideal, but working.)

Very tricky to find out, so I searched the [code](https://github.com/search?q=repo%3AFlowFuse%2Fnode-red-dashboard%20storeOutMessages%20&type=code) back then and found that `storeOutMessages` has been implemented yet.

It's present in the editor html, but the regarding section is commented out. In the runtime code `storeOutMessages` isn't even evaluated.

---

<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:** [14 July 2026 08:06 UTC](https://discourse.nodered.org/t/disable-storeoutmessages-and-resendonrefresh-in-dashboard-2-0-template/101464/5 "2026-07-14T08:06:30Z")

</div>

If you are not re-sending the previous data when a client refreshes or connects, how are you updating the template to the latest status when a new client connects?

---

<div class="post-metadata">

**Author:** ![hipatel93](https://avatars.discourse-cdn.com/v4/letter/h/dfb087/32.png) [@hipatel93](https://discourse.nodered.org/u/hipatel93)\
**Post date:** [14 July 2026 08:26 UTC](https://discourse.nodered.org/t/disable-storeoutmessages-and-resendonrefresh-in-dashboard-2-0-template/101464/6 "2026-07-14T08:26:23Z")

</div>

Hi Colin,

I am not building an IoT-based application. My project is a standalone runtime software for machine control, similar to an HMI or SCADA system. Because of this, I do not need to send data to multiple clients.

I use inject nodes with a time delay to refresh the template node and the flow. These are initialized at startup with set priorities. Within 1.5 seconds, all required nodes and third-party dependencies connect, and the software is ready to run.

Best regards,

Harshal Patel

---

<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:** [14 July 2026 08:49 UTC](https://discourse.nodered.org/t/disable-storeoutmessages-and-resendonrefresh-in-dashboard-2-0-template/101464/7 "2026-07-14T08:49:23Z")

</div>

Does `resendOnRefresh: false` actually stop it resending on refresh? I can't see where that is implemented in the code. It is present, commented out, in the ui, but not in the code, so I am surprised that it makes a difference at run time.

---

<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 September 2026 08:50 UTC](https://discourse.nodered.org/t/disable-storeoutmessages-and-resendonrefresh-in-dashboard-2-0-template/101464/8 "2026-09-12T08:50:05Z")

</div>

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