# Custom Dash UI from template node example

**URL:** <https://discourse.nodered.org/t/custom-dash-ui-from-template-node-example/58170>\
**Category:** Dashboard\
**Tags:** node-red-dashboard\
**Created:** [11 February 2022 18:32 UTC](https://discourse.nodered.org/t/custom-dash-ui-from-template-node-example/58170 "2022-02-11T18:32:05Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![om327](https://avatars.discourse-cdn.com/v4/letter/o/3ab097/32.png) [@om327](https://discourse.nodered.org/u/om327)\
**Post date:** [11 February 2022 18:32 UTC](https://discourse.nodered.org/t/custom-dash-ui-from-template-node-example/58170/1 "2022-02-11T18:32:06Z")

</div>

Hello, I'm trying to follow a very simple tutorial on creating custom UI elements for the dash board node. I've been tried to mimic the following:

[http://noderedguide.com/tutorial-node-red-dashboards-creating-your-own-ui-widget/](http://noderedguide.com/tutorial-node-red-dashboards-creating-your-own-ui-widget/)

However i get the following error: Unexpected token m in JSON at position 0

I noticed that the template and UI nodes have change slightly from when the orginal post was uploaded in 2016. The template now has options for YAML, JSON and Mustache - i've tried selecting different options but the error still persists - it's probably something very simple that i'm missing?

Many thanks!  
Ollie

---

<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:** [13 March 2022 18:32 UTC](https://discourse.nodered.org/t/custom-dash-ui-from-template-node-example/58170/2 "2022-03-13T18:32:37Z")

</div>

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