# How to insert msg.payload in template UI?

**URL:** <https://discourse.nodered.org/t/how-to-insert-msg-payload-in-template-ui/50938>\
**Category:** Dashboard\
**Created:** [13 September 2021 06:17 UTC](https://discourse.nodered.org/t/how-to-insert-msg-payload-in-template-ui/50938 "2021-09-13T06:17:08Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [13 September 2021 06:54 UTC](https://discourse.nodered.org/t/how-to-insert-msg-payload-in-template-ui/50938/2 "2021-09-13T06:54:18Z")

</div>

Firstly, your flow is un-importable. it is important to surround your code with three backticks  
`````  
`like this`  
`````

You can edit and correct your post by clicking the pencil icon.

See this post for more details - [How to share code or flow json](https://discourse.nodered.org/t/how-to-share-code-or-flow-json/506)

* * *

Secondly, I can see you have quotes in the string. They should probably not be present.

![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/a/c/acb2325041c71954acf6f8660879d02d67e47db4.png)

---

_[View the full topic](https://discourse.nodered.org/t/how-to-insert-msg-payload-in-template-ui/50938)._
