# Another question about dashboard header!

**URL:** <https://discourse.nodered.org/t/another-question-about-dashboard-header/39345>\
**Category:** General\
**Created:** [18 January 2021 18:05 UTC](https://discourse.nodered.org/t/another-question-about-dashboard-header/39345 "2021-01-18T18:05:55Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sean-McG](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/sean-mcg/32/54677_2.png) [@Sean-McG](https://discourse.nodered.org/u/Sean-McG)\
**Post date:** [18 January 2021 18:05 UTC](https://discourse.nodered.org/t/another-question-about-dashboard-header/39345/1 "2021-01-18T18:05:56Z")

</div>

Hi,

I'm trying to adapt this code for my needs, however it would be good if one ui\_template could handle multiple changes.

Is it possible to substitute the values classname and headerstatus with data from the msg.

eg use something like msg.element\_id , msg.elem and msg payload to allow any property of any element to be set via the payload ?

Thanks

> [@Bind text in the Dashboard header](https://discourse.nodered.org/t/bind-text-in-the-dashboard-header/23656/5):
>
> If you would like to see it in all dashboards tabs you could use my flow as a base, then place an hidden template node in all tabs (in template node options place it in the body and not in the head section because if in the head it cannot receive msg inputs) in that template just set up the template node to watch for the input: \<script\> (function(scope) { scope.$watch('msg.payload', function(data) { // get the element from the dashoard header and change its status using …

@ [robertsLando](https://discourse.nodered.org/u/robertsLando)

---

<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:** [19 March 2021 18:05 UTC](https://discourse.nodered.org/t/another-question-about-dashboard-header/39345/2 "2021-03-19T18:05:59Z")

</div>

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