# Node red dashboard, taking input in new node

**URL:** https://discourse.nodered.org/t/node-red-dashboard-taking-input-in-new-node/35925
**Category:** Dashboard
**Created:** [14 November 2020 17:33 UTC](https://discourse.nodered.org/t/node-red-dashboard-taking-input-in-new-node/35925 "2020-11-14T17:33:30Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![sarosh](https://avatars.discourse-cdn.com/v4/letter/s/f08c70/32.png) [@sarosh](https://discourse.nodered.org/u/sarosh)
#### Post date: [14 November 2020 17:33 UTC](https://discourse.nodered.org/t/node-red-dashboard-taking-input-in-new-node/35925/1 "2020-11-14T17:33:30Z")

</div>

I have created a simple UI node for my node red dashboard. The next this I want to do it take the input msg and show the extracted data in my widget. I have read the official docs and seen some examples but dont seem to understand how the input is received and showed.  
Can anybody help??  
This is where I am looking for help

> **[node-red/node-red-dashboard](https://github.com/node-red/node-red-dashboard/wiki/Creating-New-Dashboard-Widgets)**
>
> A dashboard UI for Node-RED. Contribute to node-red/node-red-dashboard development by creating an account on GitHub.

---

<div class="post-metadata">

### Author: ![BartButenaers](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bartbutenaers/32/10476_2.png) [@BartButenaers](https://discourse.nodered.org/u/BartButenaers)
#### Post date: [14 November 2020 17:52 UTC](https://discourse.nodered.org/t/node-red-dashboard-taking-input-in-new-node/35925/2 "2020-11-14T17:52:34Z")

</div>

> [@sarosh](#):
>
> take the input msg

Hi @sarosh,  
You can use the `$scope.watch` function to process the input message You can look e.g. [here](https://github.com/node-red/node-red-ui-nodes/blob/master/node-red-node-ui-lineargauge/linear_gauge.js#L155) for an example.  
Bart

---

<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: [14 December 2020 17:53 UTC](https://discourse.nodered.org/t/node-red-dashboard-taking-input-in-new-node/35925/3 "2020-12-14T17:53:02Z")

</div>

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