# \[Suggestion\] Persistent storage for Dashboard UI elements

**URL:** <https://discourse.nodered.org/t/suggestion-persistent-storage-for-dashboard-ui-elements/77964>\
**Category:** Developing Nodes\
**Created:** [26 April 2023 18:22 UTC](https://discourse.nodered.org/t/suggestion-persistent-storage-for-dashboard-ui-elements/77964 "2023-04-26T18:22:04Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![iiot2k](https://avatars.discourse-cdn.com/v4/letter/i/8baadc/32.png) [@iiot2k](https://discourse.nodered.org/u/iiot2k)\
**Post date:** [26 April 2023 18:22 UTC](https://discourse.nodered.org/t/suggestion-persistent-storage-for-dashboard-ui-elements/77964/1 "2023-04-26T18:22:04Z")

</div>

Hi,  
Whenever Node-Red is started, the dashboard UI elements are set to default values.  
Would it be possible to add an automatic persistent storage for the Dashboard UI elements ?  
But it would be really great if the UI elements had their own persistent storage.  
At the moment I solve the problem like this:

 ![PERSISTENT_EXAMPLE](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/6/a/6a369ab7f99076041db3f0c0db9063f8a911ed53.png)

---

<div class="post-metadata">

**Author:** ![hotNipi](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/hotnipi/32/383_2.png) [@hotNipi](https://discourse.nodered.org/u/hotNipi)\
**Post date:** [26 April 2023 18:54 UTC](https://discourse.nodered.org/t/suggestion-persistent-storage-for-dashboard-ui-elements/77964/2 "2023-04-26T18:54:40Z")

</div>

No. That doesn't bring any good value but just makes dashboard more and more heavy.  
The solution already exists and is easy to use. The starting point is not Node-Red start/restart, but the event when dashboard connects to the server side. And yes, if you have dashboard tab opened at the time the server side gets started or restarted, that event will be fired. To listen that event, there is `ui_control` node. No mater the payload, you can use that as event based trigger and feed FRESH (last known) data to the dashboard.

---

<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:** [25 June 2023 18:55 UTC](https://discourse.nodered.org/t/suggestion-persistent-storage-for-dashboard-ui-elements/77964/3 "2023-06-25T18:55:03Z")

</div>

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