# Re-using dashboards in Application Builder

**URL:** https://community.cumulocity.com/t/re-using-dashboards-in-application-builder/288
**Category:** Forum
**Tags:** cumulocity
**Created:** [June 26, 2023, 9:34am UTC](https://community.cumulocity.com/t/re-using-dashboards-in-application-builder/288 "2023-06-26T09:34:54Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![philip.a.holden](https://avatars.discourse-cdn.com/v4/letter/p/779978/32.png) [@philip.a.holden](https://community.cumulocity.com/u/philip.a.holden)
#### Post date: [June 26, 2023, 9:34am UTC](https://community.cumulocity.com/t/re-using-dashboards-in-application-builder/288/1 "2023-06-26T09:34:54Z")

</div>

#### _ **Product/components** used and **version/fix** level:_

Cumulocity IoT Version 1016 and Application Builder 2.0.0

#### _Detailed explanation of the problem:_

Hi, is it possible to use a single dashboard, created in Application Builder, for multiple **child** devices?

I have a number of cloud fieldbus devices, and each one contains a single child Modbus device.

All of the parent (fieldbus) devices are in one group, and all of the child devices are in another group.

If I try to create a group template dashboard using the child device group, it does not seem to find the child devices.

If instead I set the group to be the parent devices, it does find those and it creates a dashboard for each parent device. But when I then try to add widgets to the dashboard, the widget options dialog states that the (parent) device has no child assets, so I cannot select data points from the child device.

I might be missing something simple - thanks for any help.

---

<div class="post-metadata">

### Author: ![Matthew\_Barnes](https://avatars.discourse-cdn.com/v4/letter/m/7c8e57/32.png) [@Matthew\_Barnes](https://community.cumulocity.com/u/Matthew_Barnes)
#### Post date: [June 26, 2023, 1:54pm UTC](https://community.cumulocity.com/t/re-using-dashboards-in-application-builder/288/2 "2023-06-26T13:54:06Z")

</div>

We will try and duplicate it tomorrow and come back to you.

---

<div class="post-metadata">

### Author: ![philip.a.holden](https://avatars.discourse-cdn.com/v4/letter/p/779978/32.png) [@philip.a.holden](https://community.cumulocity.com/u/philip.a.holden)
#### Post date: [June 26, 2023, 2:48pm UTC](https://community.cumulocity.com/t/re-using-dashboards-in-application-builder/288/3 "2023-06-26T14:48:05Z")

</div>

Great, thank you.

---

<div class="post-metadata">

### Author: ![Darpankumar\_Lalani](https://avatars.discourse-cdn.com/v4/letter/d/e9bcb4/32.png) [@Darpankumar\_Lalani](https://community.cumulocity.com/u/Darpankumar_Lalani)
#### Post date: [June 27, 2023, 5:56am UTC](https://community.cumulocity.com/t/re-using-dashboards-in-application-builder/288/4 "2023-06-27T05:56:56Z")

</div>

Hi Philip,

If you have all child devices in a group and you are selecting that group in “create group template dashboard” then it should display all devices(child). There is no separate implementation as far as child devices are concern.  
See attached screenshot.

 ![image](https://europe1.discourse-cdn.com/flex005/uploads/cumulocity/original/3X/b/5/b58b8ee73d4560b7c4f31153f791751218b59f01.png)  
I would suggest to open browser console(network tab) and verify childAssets api as highlighted. In my case it is returning two devices for a group.

If you are selecting group of parent devices, then you may not get option to select child device in widget configuration. That implementation is widget specific.

---

<div class="post-metadata">

### Author: ![philip.a.holden](https://avatars.discourse-cdn.com/v4/letter/p/779978/32.png) [@philip.a.holden](https://community.cumulocity.com/u/philip.a.holden)
#### Post date: [June 27, 2023, 8:47am UTC](https://community.cumulocity.com/t/re-using-dashboards-in-application-builder/288/5 "2023-06-27T08:47:26Z")

</div>

Hi Darpan

Thanks for advising.

I’ve checked the browser console, and if I select the group (for the group template dashboard) that contains the 2 parent devices, then the childAssets → references data contains 2 items.

However if I select the group that contains the 2 child devices (each child device is a child of one of the parent devices), then the childAssets → references data is empty.

To clarify, I have the devices configured as follows:

Parent device 1  
- Child device 1

Parent device 2  
- Child device 2

The 2 parents are in one group, and the group template dashboard works if I specify the parent group.

The 2 child devices are in a separate group, and the group template dashboard does not work for that group, because the childAsset references are empty.

---

<div class="post-metadata">

### Author: ![Darpankumar\_Lalani](https://avatars.discourse-cdn.com/v4/letter/d/e9bcb4/32.png) [@Darpankumar\_Lalani](https://community.cumulocity.com/u/Darpankumar_Lalani)
#### Post date: [June 27, 2023, 10:06am UTC](https://community.cumulocity.com/t/re-using-dashboards-in-application-builder/288/6 "2023-06-27T10:06:35Z")

</div>

Hi Philip,

I suspect that your child device is missing `c8y_IsDevice` fragment. Can you please verify that from Device Management.  
See below screenshot for reference.

 ![image](https://europe1.discourse-cdn.com/flex005/uploads/cumulocity/original/3X/d/1/d1fbaa8f2461098c2df3a0a0615e9aefd27c153a.png)

---

<div class="post-metadata">

### Author: ![philip.a.holden](https://avatars.discourse-cdn.com/v4/letter/p/779978/32.png) [@philip.a.holden](https://community.cumulocity.com/u/philip.a.holden)
#### Post date: [June 27, 2023, 10:43am UTC](https://community.cumulocity.com/t/re-using-dashboards-in-application-builder/288/7 "2023-06-27T10:43:12Z")

</div>

Hi Darpan

Ah, that was it - thanks. The `c8y_IsDevice` fragment was missing from both child devices.

I’ve added it manually to each, and now the group template dashboard is working.

Thanks for your quick help, it’s much appreciated.

---

<div class="post-metadata">

### Author: ![system](https://dub1.discourse-cdn.com/flex005/user_avatar/community.cumulocity.com/system/32/31990_2.png) [@system](https://community.cumulocity.com/u/system)
#### Post date: [December 24, 2023, 10:43am UTC](https://community.cumulocity.com/t/re-using-dashboards-in-application-builder/288/8 "2023-12-24T10:43:16Z")

</div>

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