# Initialize when opening dashboard tab?

**URL:** <https://discourse.nodered.org/t/initialize-when-opening-dashboard-tab/33111>\
**Category:** Dashboard\
**Created:** [20 September 2020 13:41 UTC](https://discourse.nodered.org/t/initialize-when-opening-dashboard-tab/33111 "2020-09-20T13:41:52Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![manjha](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/manjha/32/29301_2.png) [@manjha](https://discourse.nodered.org/u/manjha)\
**Post date:** [20 September 2020 13:41 UTC](https://discourse.nodered.org/t/initialize-when-opening-dashboard-tab/33111/1 "2020-09-20T13:41:52Z")

</div>

I am developing a dashboard with a number of tabs, and am looking for a way to initialize the data. Right now I have defined a "refresh" button, which triggers a flow that pulls information from Domoticz and feeds that into several nodes to display.  
Is it possible to automate this? Somehow trigger a flow when a dashboard page is opened?

---

<div class="post-metadata">

**Author:** ![E1cid](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/e1cid/32/77971_2.png) [@E1cid](https://discourse.nodered.org/u/E1cid)\
**Post date:** [20 September 2020 15:31 UTC](https://discourse.nodered.org/t/initialize-when-opening-dashboard-tab/33111/2 "2020-09-20T15:31:02Z")

</div>

Yes use the ui-control node to watch for dashboard connect.

---

<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:** [4 October 2020 15:31 UTC](https://discourse.nodered.org/t/initialize-when-opening-dashboard-tab/33111/3 "2020-10-04T15:31:10Z")

</div>

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