# How to fill template frame

**URL:** <https://discourse.nodered.org/t/how-to-fill-template-frame/71648>\
**Category:** Dashboard\
**Tags:** node-red-dashboard\
**Created:** [3 December 2022 19:54 UTC](https://discourse.nodered.org/t/how-to-fill-template-frame/71648 "2022-12-03T19:54:07Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![JorgeGomes](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/jorgegomes/32/70288_2.png) [@JorgeGomes](https://discourse.nodered.org/u/JorgeGomes)\
**Post date:** [3 December 2022 19:54 UTC](https://discourse.nodered.org/t/how-to-fill-template-frame/71648/1 "2022-12-03T19:54:07Z")

</div>

Hello all,  
I've a flow where I present a video stream and a picture into node template. I'm wondering if is any way to fill the frame with a text message like " No video available" when the template is empty as I show in the enclosed picture.  
Thanks

 ![MicrosoftTeams-image (1)](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/a/f/af09b46257875e504b6cddba681499e9406fae3a.png)

---

<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:** [4 December 2022 13:17 UTC](https://discourse.nodered.org/t/how-to-fill-template-frame/71648/2 "2022-12-04T13:17:26Z")

</div>

in the ui template node this usually can be done by the angular if directive:

[https://www.w3schools.com/angular/ng\_ng-if.asp](https://www.w3schools.com/angular/ng_ng-if.asp)

If you had an example flow any help could be more concrete

---

<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:** [3 January 2023 13:18 UTC](https://discourse.nodered.org/t/how-to-fill-template-frame/71648/3 "2023-01-03T13:18:01Z")

</div>

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