# Saving variable inside a nodes property

**URL:** https://discourse.nodered.org/t/saving-variable-inside-a-nodes-property/32955
**Category:** Dashboard
**Created:** [16 September 2020 12:16 UTC](https://discourse.nodered.org/t/saving-variable-inside-a-nodes-property/32955 "2020-09-16T12:16:20Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![entrisity](https://avatars.discourse-cdn.com/v4/letter/e/90ced4/32.png) [@entrisity](https://discourse.nodered.org/u/entrisity)
#### Post date: [16 September 2020 12:16 UTC](https://discourse.nodered.org/t/saving-variable-inside-a-nodes-property/32955/1 "2020-09-16T12:16:21Z")

</div>

Hey,  
Lets say i want to be able to change a property inside a node like the gauge. How would i do it and how could i modify that variable inside a function?

---

<div class="post-metadata">

### Author: ![zenofmud](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zenofmud/32/316_2.png) [@zenofmud](https://discourse.nodered.org/u/zenofmud)
#### Post date: [16 September 2020 12:31 UTC](https://discourse.nodered.org/t/saving-variable-inside-a-nodes-property/32955/2 "2020-09-16T12:31:59Z")

</div>

If you are talking about the Ui-gauge, you send it data From another node. If that is not the case please explain what you want to do a bit more

---

<div class="post-metadata">

### Author: ![entrisity](https://avatars.discourse-cdn.com/v4/letter/e/90ced4/32.png) [@entrisity](https://discourse.nodered.org/u/entrisity)
#### Post date: [16 September 2020 13:32 UTC](https://discourse.nodered.org/t/saving-variable-inside-a-nodes-property/32955/3 "2020-09-16T13:32:42Z")

</div>

as in the max value can be changed through buttons or any other property really

---

<div class="post-metadata">

### Author: ![knolleary](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/knolleary/32/3_2.png) [@knolleary](https://discourse.nodered.org/u/knolleary)
#### Post date: [16 September 2020 14:30 UTC](https://discourse.nodered.org/t/saving-variable-inside-a-nodes-property/32955/4 "2020-09-16T14:30:23Z")

</div>

You can use the `msg.ui_control` property to modify the configuration of some ui nodes. What properties you can modify, and how to do it, is documented here: [https://github.com/node-red/node-red-dashboard/blob/master/config-fields.md](https://github.com/node-red/node-red-dashboard/blob/master/config-fields.md)

---

<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: [16 October 2020 14:30 UTC](https://discourse.nodered.org/t/saving-variable-inside-a-nodes-property/32955/5 "2020-10-16T14:30:29Z")

</div>

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