# Dashboard Text display

**URL:** <https://discourse.nodered.org/t/dashboard-text-display/33207>\
**Category:** Dashboard\
**Created:** [23 September 2020 03:46 UTC](https://discourse.nodered.org/t/dashboard-text-display/33207 "2020-09-23T03:46:24Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![shazni](https://avatars.discourse-cdn.com/v4/letter/s/f4b2a3/32.png) [@shazni](https://discourse.nodered.org/u/shazni)\
**Post date:** [23 September 2020 03:46 UTC](https://discourse.nodered.org/t/dashboard-text-display/33207/1 "2020-09-23T03:46:24Z")

</div>

Hi, I am trying to display two text with label name and score. I manage to split the message but it only display score in my dashboard.

 ![Node red](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/c/f/cf51b4d408c36a8ebee9e0312e68981c5c0625e9.png)  
 ![Node red dashboard](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/b/2/b2f0631cc359fa3e3d774f981b02278d190b621d.png)

---

<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:** [23 September 2020 08:01 UTC](https://discourse.nodered.org/t/dashboard-text-display/33207/2 "2020-09-23T08:01:20Z")

</div>

I would start by fixing the error at the top of the debug window. If you click where it says `node: ` followed by the node id then it should highlight the node giving the error. It looks as if you have an error in the node's config. If you give all nodes names in their config then when you get an error it will show the node name instead of just the id.

---

<div class="post-metadata">

**Author:** ![shazni](https://avatars.discourse-cdn.com/v4/letter/s/f4b2a3/32.png) [@shazni](https://discourse.nodered.org/u/shazni)\
**Post date:** [23 September 2020 08:09 UTC](https://discourse.nodered.org/t/dashboard-text-display/33207/3 "2020-09-23T08:09:16Z")

</div>

The error occur as I try and error the split node. There is no error actually.

---

<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:** [23 September 2020 08:19 UTC](https://discourse.nodered.org/t/dashboard-text-display/33207/4 "2020-09-23T08:19:45Z")

</div>

Sorry, that statement does not make sense. There is an error in that node. Show us how you have configured it, you can paste a screenshot directly here.

---

<div class="post-metadata">

**Author:** ![shazni](https://avatars.discourse-cdn.com/v4/letter/s/f4b2a3/32.png) [@shazni](https://discourse.nodered.org/u/shazni)\
**Post date:** [23 September 2020 08:24 UTC](https://discourse.nodered.org/t/dashboard-text-display/33207/5 "2020-09-23T08:24:13Z")

</div>

![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/c/5/c51a0e0104be0a2eb8b4cf33b4cb9dfe642b1ae0.png)  
I just set the node as default

---

<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:** [23 September 2020 08:41 UTC](https://discourse.nodered.org/t/dashboard-text-display/33207/6 "2020-09-23T08:41:27Z")

</div>

> [@shazni](#):
>
> I just set the node as default

I have no idea what that means or why you have posted an image of the flow again. I think the best thing is if you share the flow here. Select all the nodes in the image you posted (except the image preview as I presume that has nothing to do with the problem) and select Export from the hamburger menu, then Copy to Clipboard. Then in the forum text entry window go to a new line and click the `</>` button above the window and paste the flow in.  
Also explain exactly what you expect to see in the debug output and in the dashboard.

---

<div class="post-metadata">

**Author:** ![shazni](https://avatars.discourse-cdn.com/v4/letter/s/f4b2a3/32.png) [@shazni](https://discourse.nodered.org/u/shazni)\
**Post date:** [23 September 2020 08:53 UTC](https://discourse.nodered.org/t/dashboard-text-display/33207/7 "2020-09-23T08:53:00Z")

</div>

```auto
[{"id":"e87edf67.5b8c2","type":"teachable machine","z":"1f45c9a0.880ab6","name":"","mode":"online","modelUrl":"https://teachablemachine.withgoogle.com/models/WSAEhC33b/","localModel":"teachable_model","output":"best","activeThreshold":false,"threshold":80,"activeMaxResults":false,"maxResults":3,"passThrough":true,"x":378,"y":120,"wires":[["c29f429d.789a3"]]},{"id":"b245bdb8.3618f","type":"fileinject","z":"1f45c9a0.880ab6","name":"","x":140,"y":120,"wires":[["e87edf67.5b8c2","c7beb8a6.ba2af8"]]},{"id":"c7beb8a6.ba2af8","type":"image","z":"1f45c9a0.880ab6","name":"","width":160,"data":"payload","dataType":"msg","thumbnail":false,"active":true,"pass":false,"outputs":0,"x":380,"y":220,"wires":[]},{"id":"3e507888.9dfc58","type":"debug","z":"1f45c9a0.880ab6","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"payload","targetType":"msg","statusVal":"","statusType":"auto","x":870,"y":120,"wires":[]},{"id":"65ee7e86.bd0b6","type":"ui_text","z":"1f45c9a0.880ab6","group":"ed9f6790.1226c8","order":3,"width":0,"height":0,"name":"","label":"Score","format":"{{msg.payload}}","layout":"col-center","x":850,"y":320,"wires":[]},{"id":"c29f429d.789a3","type":"split","z":"1f45c9a0.880ab6","name":"","splt":"\\n","spltType":"str","arraySplt":"1","arraySpltType":"len","stream":false,"addname":"","x":570,"y":120,"wires":[["b630cfe5.545d8"]]},{"id":"b630cfe5.545d8","type":"split","z":"1f45c9a0.880ab6","name":"","splt":"\\n","spltType":"str","arraySplt":1,"arraySpltType":"len","stream":false,"addname":"","x":710,"y":220,"wires":[["65ee7e86.bd0b6","3e507888.9dfc58"]]},{"id":"ed9f6790.1226c8","type":"ui_group","z":"","name":"Result","tab":"fac4adcc.be33b","order":2,"disp":true,"width":"6","collapse":false},{"id":"fac4adcc.be33b","type":"ui_tab","z":"","name":"Home","icon":"dashboard","disabled":false,"hidden":false}]

```

I want the dashboard to display the name of the person and the score. Before the split node is connected the dashboard display something like this.

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/b/2/b2e43b97dea68c6ce1747ec185ba8d061173eeef.png)  
 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/d/f/df825abd5a69c65e4ae2b806f6cf48dcee723376.png)

---

<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:** [23 September 2020 10:08 UTC](https://discourse.nodered.org/t/dashboard-text-display/33207/8 "2020-09-23T10:08:00Z")

</div>

In the version without the split nodes, put in the text node Value Format field  
`{{msg.payload[0].class}} {{msg.payload[0].score}}`

---

<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 September 2020 09:24 UTC](https://discourse.nodered.org/t/dashboard-text-display/33207/9 "2020-09-25T09:24:01Z")

</div>

@shazni did that help?

---

<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:** [9 October 2020 09:24 UTC](https://discourse.nodered.org/t/dashboard-text-display/33207/10 "2020-10-09T09:24:03Z")

</div>

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