# Sending msg.payload inside a vuetfy.js Template

**URL:** https://discourse.nodered.org/t/sending-msg-payload-inside-a-vuetfy-js-template/84609
**Category:** Dashboard
**Created:** [16 January 2024 14:43 UTC](https://discourse.nodered.org/t/sending-msg-payload-inside-a-vuetfy-js-template/84609 "2024-01-16T14:43:28Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Timo7](https://avatars.discourse-cdn.com/v4/letter/t/ed655f/32.png) [@Timo7](https://discourse.nodered.org/u/Timo7)
#### Post date: [16 January 2024 14:43 UTC](https://discourse.nodered.org/t/sending-msg-payload-inside-a-vuetfy-js-template/84609/1 "2024-01-16T14:43:28Z")

</div>

I try to change the pages by clicking on images in my template. Recognizing the correct image when clicking works. Switching tabs with a dashboard button also works. Now I want a msg.payload with the name of the page to be posted when the image is clicked. I have already tested this function: this.send({payload:'Page1'}); . However, this does not post a message. Integrating the request into the HTML code was also unsuccessful. Switching with a button works with the help of msg.payload and the ui control.

Many thanks in advance

---

<div class="post-metadata">

### Author: ![zenofmud](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zenofmud/32/316_2.png) [@zenofmud](https://discourse.nodered.org/u/zenofmud)
#### Post date: [17 January 2024 11:42 UTC](https://discourse.nodered.org/t/sending-msg-payload-inside-a-vuetfy-js-template/84609/2 "2024-01-17T11:42:39Z")

</div>

[moderator] closed due to [duplicate threads](https://discourse.nodered.org/t/how-to-send-msg-payload-inside-dashboard-template-with-vuetify/84631)

---

<div class="post-metadata">

### Author: ![zenofmud](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zenofmud/32/316_2.png) [@zenofmud](https://discourse.nodered.org/u/zenofmud)
#### Post date: [17 January 2024 11:42 UTC](https://discourse.nodered.org/t/sending-msg-payload-inside-a-vuetfy-js-template/84609/3 "2024-01-17T11:42:44Z")

</div>


