# Show previous Node data in current Node

**URL:** <https://discourse.nodered.org/t/show-previous-node-data-in-current-node/52684>\
**Category:** Feature Requests\
**Created:** [25 October 2021 03:07 UTC](https://discourse.nodered.org/t/show-previous-node-data-in-current-node/52684 "2021-10-25T03:07:17Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![stonez56](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/stonez56/32/49914_2.png) [@stonez56](https://discourse.nodered.org/u/stonez56)\
**Post date:** [25 October 2021 03:07 UTC](https://discourse.nodered.org/t/show-previous-node-data-in-current-node/52684/1 "2021-10-25T03:07:17Z")

</div>

Adding a feature to allow you to see whether the data sent from the previous Node is an object, string, or numbers or even show the value in the side bar when clicked.

When you working on the current Node, it would be convenient to show the results from the previous Node on the current editing panel. This way, you don't need to use debug Node to see the results from the sidebar first and then coding in the current Node.

What do you think?

Stonez56

---

<div class="post-metadata">

**Author:** ![cymplecy](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/cymplecy/32/2773_2.png) [@cymplecy](https://discourse.nodered.org/u/cymplecy)\
**Post date:** [25 October 2021 06:52 UTC](https://discourse.nodered.org/t/show-previous-node-data-in-current-node/52684/2 "2021-10-25T06:52:21Z")

</div>

This might be of interest to you

> [@\[NEW NODE\] node-red-contrib-primitive-status](https://discourse.nodered.org/t/new-node-node-red-contrib-primitive-status/52643):
>
> I have released version 1.0.0 of the node-red-contrib-primitive-status node. A Node-RED node that displays the primitive type of msg.payload in the nodes status. Messages will pass through the first output, and the primitive type is returned as a string from the second output. The node requires no configuration. This is my second node published, please critique it, I'm new to coding and want to get better.

---

<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:** [25 October 2021 09:28 UTC](https://discourse.nodered.org/t/show-previous-node-data-in-current-node/52684/3 "2021-10-25T09:28:27Z")

</div>

> [@stonez56](#):
>
> When you working on the current Node, it would be convenient to show the results from the previous Node on the current editing panel.

Do you mean when editing a node's configuration or in the editor itself (in the Status display for example)?

---

<div class="post-metadata">

**Author:** ![stonez56](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/stonez56/32/49914_2.png) [@stonez56](https://discourse.nodered.org/u/stonez56)\
**Post date:** [27 October 2021 03:48 UTC](https://discourse.nodered.org/t/show-previous-node-data-in-current-node/52684/4 "2021-10-27T03:48:13Z")

</div>

> Blockquote  
> Do you mean when editing a node's configuration or in the editor itself (in the Status display for example)?

Yes, I mean In the Node's editor.

---

<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:** [27 October 2021 08:49 UTC](https://discourse.nodered.org/t/show-previous-node-data-in-current-node/52684/5 "2021-10-27T08:49:09Z")

</div>

Presumably it would have to continuously update as the node is sent new messages whilst you were editing it. So effectively a Status type output within the config panel, but always showing the latest message. I suppose you probably could add that feature to the custom node you are creating, but the overheads could be onerous.

---

<div class="post-metadata">

**Author:** ![stonez56](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/stonez56/32/49914_2.png) [@stonez56](https://discourse.nodered.org/u/stonez56)\
**Post date:** [28 October 2021 03:14 UTC](https://discourse.nodered.org/t/show-previous-node-data-in-current-node/52684/6 "2021-10-28T03:14:21Z")

</div>

I see. thanks!

---

<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:** [27 December 2021 03:14 UTC](https://discourse.nodered.org/t/show-previous-node-data-in-current-node/52684/7 "2021-12-27T03:14:51Z")

</div>

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