# Change node property at runtime

**URL:** https://discourse.nodered.org/t/change-node-property-at-runtime/2656
**Category:** General
**Created:** [29 August 2018 11:41 UTC](https://discourse.nodered.org/t/change-node-property-at-runtime/2656 "2018-08-29T11:41:52Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![CatalinFetoiu](https://avatars.discourse-cdn.com/v4/letter/c/4bbf92/32.png) [@CatalinFetoiu](https://discourse.nodered.org/u/CatalinFetoiu)
#### Post date: [29 August 2018 11:41 UTC](https://discourse.nodered.org/t/change-node-property-at-runtime/2656/1 "2018-08-29T11:41:52Z")

</div>

Is it possible to change a node input property at runtime, from the backend of the node? I tried using config.property = new\_value but it seems it is not correct.

Thank you,  
Catalin

---

<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: [29 August 2018 11:51 UTC](https://discourse.nodered.org/t/change-node-property-at-runtime/2656/2 "2018-08-29T11:51:15Z")

</div>

A node is free to do whatever it wants with its internal configuration, but it cannot change the deployed flow configuration.

---

<div class="post-metadata">

### Author: ![CatalinFetoiu](https://avatars.discourse-cdn.com/v4/letter/c/4bbf92/32.png) [@CatalinFetoiu](https://discourse.nodered.org/u/CatalinFetoiu)
#### Post date: [29 August 2018 12:01 UTC](https://discourse.nodered.org/t/change-node-property-at-runtime/2656/3 "2018-08-29T12:01:54Z")

</div>

And more specifically, can you change the label of a node to be a value given by the backend. For example, in the backend a value is set in context.global, can it be accesed from the frontend?

Catalin

---

<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: [29 August 2018 12:09 UTC](https://discourse.nodered.org/t/change-node-property-at-runtime/2656/4 "2018-08-29T12:09:48Z")

</div>

> [@CatalinFetoiu](#):
>
> can you change the label of a node to be a value given by the backend. For example, in the backend a value is set in context.global, can it be accesed from the frontend?

No.

A node should not be using global context to store its own state.

The only mechanism available for the runtime to do anything to the editor is through the `node.status()` messages. Nothing else in the editor can be modified by the runtime.

---

<div class="post-metadata">

### Author: ![CatalinFetoiu](https://avatars.discourse-cdn.com/v4/letter/c/4bbf92/32.png) [@CatalinFetoiu](https://discourse.nodered.org/u/CatalinFetoiu)
#### Post date: [29 August 2018 12:23 UTC](https://discourse.nodered.org/t/change-node-property-at-runtime/2656/5 "2018-08-29T12:23:31Z")

</div>

I understand. Thank you for the explanations 🙂 !

Catalin
