# How to create a node with properties in external files

**URL:** <https://discourse.nodered.org/t/how-to-create-a-node-with-properties-in-external-files/26263>\
**Category:** Developing Nodes\
**Created:** [7 May 2020 20:17 UTC](https://discourse.nodered.org/t/how-to-create-a-node-with-properties-in-external-files/26263 "2020-05-07T20:17:59Z")\
**Posts on this page:** 1\
**Showing post:** 18

<div class="post-metadata">

**Author:** ![cinhcet](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/cinhcet/32/438_2.png) [@cinhcet](https://discourse.nodered.org/u/cinhcet)\
**Post date:** [9 May 2020 19:20 UTC](https://discourse.nodered.org/t/how-to-create-a-node-with-properties-in-external-files/26263/18 "2020-05-09T19:20:39Z")

</div>

actually, this reminds me of this topic:

> [@Ctrl-z undo question](https://discourse.nodered.org/t/ctrl-z-undo-question/7481):
>
> Hi, How does one handle a node, when the user hits ctrl-z? Is there a function with something like "oneditundo"? My current problem is that my node gets in a bad state, if it is configured, and then undo-ed afterwards with ctrl-z.

where also not a good solution for the undo problem was found

---

_[View the full topic](https://discourse.nodered.org/t/how-to-create-a-node-with-properties-in-external-files/26263)._
