# Is it possible to include inbuilt dashboard nodes inside template node in node-red dashboard

**URL:** <https://discourse.nodered.org/t/is-it-possible-to-include-inbuilt-dashboard-nodes-inside-template-node-in-node-red-dashboard/65361>\
**Category:** Dashboard\
**Tags:** node-red-dashboard\
**Created:** [20 July 2022 11:09 UTC](https://discourse.nodered.org/t/is-it-possible-to-include-inbuilt-dashboard-nodes-inside-template-node-in-node-red-dashboard/65361 "2022-07-20T11:09:48Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![iotgroup04](https://avatars.discourse-cdn.com/v4/letter/i/f19dbf/32.png) [@iotgroup04](https://discourse.nodered.org/u/iotgroup04)\
**Post date:** [20 July 2022 11:09 UTC](https://discourse.nodered.org/t/is-it-possible-to-include-inbuilt-dashboard-nodes-inside-template-node-in-node-red-dashboard/65361/1 "2022-07-20T11:09:48Z")

</div>

I'm trying to create my own dashboard node using the template node. But I want include some already available dashboard nodes like charts & buttons inside that custom template node. Is it possible ?

Thank you

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [20 July 2022 12:00 UTC](https://discourse.nodered.org/t/is-it-possible-to-include-inbuilt-dashboard-nodes-inside-template-node-in-node-red-dashboard/65361/2 "2022-07-20T12:00:42Z")

</div>

hi - no it's not really possible.

---

<div class="post-metadata">

**Author:** ![iotgroup04](https://avatars.discourse-cdn.com/v4/letter/i/f19dbf/32.png) [@iotgroup04](https://discourse.nodered.org/u/iotgroup04)\
**Post date:** [20 July 2022 14:54 UTC](https://discourse.nodered.org/t/is-it-possible-to-include-inbuilt-dashboard-nodes-inside-template-node-in-node-red-dashboard/65361/3 "2022-07-20T14:54:57Z")

</div>

Okay. Thank you for the answer

---

<div class="post-metadata">

**Author:** ![knoepsche](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/knoepsche/32/69450_2.png) [@knoepsche](https://discourse.nodered.org/u/knoepsche)\
**Post date:** [24 July 2022 14:17 UTC](https://discourse.nodered.org/t/is-it-possible-to-include-inbuilt-dashboard-nodes-inside-template-node-in-node-red-dashboard/65361/4 "2022-07-24T14:17:12Z")

</div>

Don't know if you mean building up a new node from scratch or just use a dashboard template node.

If you do the second joice then have a look at [https://material.angularjs.org/latest/demo/button](https://material.angularjs.org/latest/demo/button) and watch the Developer Tools in your browser how the Elements are structured if you use a dashboard-button.

It should be something like that:

```auto
<md-card ui-card-size="6x1" class="nr-dashboard-button _md visible" node-class="" ng-class="[{'nr-dashboard-disabled':me.item.disabled}, me.item.className]" node-id="a4e97c7e66ea988a" style="left: 0px; top: 0px; width: 318px; height: 48px;">
	<button class="md-raised md-button md-ink-ripple" type="button" ng-transclude="" ng-click="me.buttonClick($event)" ng-disabled="me.item.disabled" aria-label="buttonbutton" ng-style="{'background-color':me.item.getText(), 'color':me.item.getColor(), 'z-index':1, 'padding':'0px'}" style="z-index: 1; padding: 0px;">
		<ui-icon ng-show="me.item.icon.length" icon="" ng-style="{color:me.item.getColor()}" aria-hidden="true" class="ng-hide">
			<!---->
			<!---->
			<!---->
			<!---->
			<!---->
			<!---->
			<!---->
			<!---->
		</ui-icon>
		<span ng-bind-html="me.item.getLabel()">button</span>
		<!---->
	</button>
</md-card>

```

---

<div class="post-metadata">

**Author:** ![knoepsche](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/knoepsche/32/69450_2.png) [@knoepsche](https://discourse.nodered.org/u/knoepsche)\
**Post date:** [24 July 2022 14:39 UTC](https://discourse.nodered.org/t/is-it-possible-to-include-inbuilt-dashboard-nodes-inside-template-node-in-node-red-dashboard/65361/5 "2022-07-24T14:39:14Z")

</div>

Here is an example of a row with 4 buttons inside a dashboard-template node where each button is styled as the usual dashboard-button:

[flows (5).json](https://discourse.nodered.org/uploads/short-url/t4rb8T7FSioKECJK6fqp7odq6aN.json) (8.0 KB)

---

<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:** [7 August 2022 14:39 UTC](https://discourse.nodered.org/t/is-it-possible-to-include-inbuilt-dashboard-nodes-inside-template-node-in-node-red-dashboard/65361/6 "2022-08-07T14:39:28Z")

</div>

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