# Cockpit Groups

**URL:** <https://community.cumulocity.com/t/cockpit-groups/7394>\
**Category:** Forum\
**Tags:** cumulocity\
**Created:** [May 25, 2023, 7:42am UTC](https://community.cumulocity.com/t/cockpit-groups/7394 "2023-05-25T07:42:58Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Melanie\_Monnereau](https://avatars.discourse-cdn.com/v4/letter/m/b38774/32.png) [@Melanie\_Monnereau](https://community.cumulocity.com/u/Melanie_Monnereau)\
**Post date:** [May 25, 2023, 7:42am UTC](https://community.cumulocity.com/t/cockpit-groups/7394/1 "2023-05-25T07:42:58Z")

</div>

Hi

Any reasons why we do not see the smart groups into the listed groups of the Cockpit app?

Can it be customized so users also see the smart groups?

thank you

---

<div class="post-metadata">

**Author:** ![Robert\_Neale](https://dub1.discourse-cdn.com/flex005/user_avatar/community.cumulocity.com/robert_neale/32/31965_2.png) [@Robert\_Neale](https://community.cumulocity.com/u/Robert_Neale)\
**Post date:** [May 25, 2023, 8:05am UTC](https://community.cumulocity.com/t/cockpit-groups/7394/2 "2023-05-25T08:05:31Z")

</div>

Smart groups, by default are only seen in Device Management. The smart groups are primarily intended to make functions of the Device Management app easier, so they are only normally visible there.

> **[Cumulocity documentation](https://cumulocity.com/docs/)**
>
> This documentation offers comprehensive information on the Cumulocity platform both from a user and from a developer perspective. It reflects the latest state of the Cumulocity platform and is continuously updated to align with recent software...

---

<div class="post-metadata">

**Author:** ![Melanie\_Monnereau](https://avatars.discourse-cdn.com/v4/letter/m/b38774/32.png) [@Melanie\_Monnereau](https://community.cumulocity.com/u/Melanie_Monnereau)\
**Post date:** [May 25, 2023, 8:51am UTC](https://community.cumulocity.com/t/cockpit-groups/7394/3 "2023-05-25T08:51:44Z")

</div>

I know hence my questions what s the reason behind hidden them from the cockpit app? If a user decides to create a smart group, he might well still want to see business info for that same group on the cockpit. The advantage of the smart group is that it is dynamic; our client does not want to remember adding new devices to a regular group if new devices are being registered on a regular basis. Hence he likes the idea of a smart group where devices are added auto; and he wants to see that same group/devices on the cockpit.

![image001.png](https://europe1.discourse-cdn.com/flex005/uploads/cumulocity/original/3X/a/8/a87b6b11fc928737ad2dbd12da3a006a3a205d55.png)

 ![image002.png](https://europe1.discourse-cdn.com/flex005/uploads/cumulocity/original/3X/c/f/cf1b917ed7c6f7002675b6d2085708ab46bd3863.png)

![image003.png](https://europe1.discourse-cdn.com/flex005/uploads/cumulocity/original/3X/6/5/65744658a72aed06e95d96a2113499f4669f0265.png)

![image005.png](https://europe1.discourse-cdn.com/flex005/uploads/cumulocity/original/3X/2/3/23ca7d938b07ded9a33c446728fea44b516d299c.png)

![image006.png](https://europe1.discourse-cdn.com/flex005/uploads/cumulocity/original/3X/d/5/d55f312a337c351dd5f393b63ad636a866718307.png)

![image007.png](https://europe1.discourse-cdn.com/flex005/uploads/cumulocity/original/3X/7/5/759d5313a8df46b009ec4b45704aa3d86dc870a8.png)

![image008.gif](https://europe1.discourse-cdn.com/flex005/uploads/cumulocity/original/3X/0/7/07aeaebdf709b40019fc03772ef5fc82ff08b216.gif)

![image004.png](https://europe1.discourse-cdn.com/flex005/uploads/cumulocity/original/3X/6/0/6057172a7934415d5df4e1764199d3ba3e1d9e68.png)

---

<div class="post-metadata">

**Author:** ![Robert\_Neale](https://dub1.discourse-cdn.com/flex005/user_avatar/community.cumulocity.com/robert_neale/32/31965_2.png) [@Robert\_Neale](https://community.cumulocity.com/u/Robert_Neale)\
**Post date:** [May 25, 2023, 9:18am UTC](https://community.cumulocity.com/t/cockpit-groups/7394/4 "2023-05-25T09:18:41Z")

</div>

It’s a reasonable request but at the moment it’s not there by default. Perhaps raise a Feature Request, maybe a toggle in the UI to show just groups, just smartgroups, or all. I’m sure a custom app could show smart groups (fragment c8y\_DynamicGroup), after all, Device Management shows all kinds of groups, but don’t ask me how. Needs someone with more app development experience than me!

---

<div class="post-metadata">

**Author:** ![Tristan\_Bastian](https://dub1.discourse-cdn.com/flex005/user_avatar/community.cumulocity.com/tristan_bastian/32/18259_2.png) [@Tristan\_Bastian](https://community.cumulocity.com/u/Tristan_Bastian)\
**Post date:** [July 11, 2023, 8:21pm UTC](https://community.cumulocity.com/t/cockpit-groups/7394/5 "2023-07-11T20:21:06Z")

</div>

Hi Melanie,

in general you could enable the smart groups feature within cockpit pretty easily by just replacing `AssetsNavigatorModule,` with `AssetsNavigatorModule.config({ smartGroups: true }),` in the `app.module.ts` when building the cockpit app on your own.

As soon as you activate this, you will also find the smart groups listed underneath `Groups` in the navigation.  
You can navigate to them and will find the `Subassets` tab where all the matching devices are listed.

All good until here. But in contrast to the devicemanagement application, cockpit offers also further tabs on group level which are not compatible with smart groups (`Smart rules`, `Data explorer` and the whole dashboarding functionality).

These three features are relying on the devices/assets having a direct parent/child relationship with the group via the childAssets. This is not the case for smart groups as smart groups basically just store the query that identifies their children.  
These features could of course be adapted, but it involves quite a lot of effort to do so.

It could be quite easy to just remove the `Smart rules`, `Data explorer` and dashboarding functionality for smart groups in case your only usecase for smart groups is navigating via them or and having the `Subassets` tab.

Regards,  
Tristan

---

<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:** [January 7, 2024, 8:21pm UTC](https://community.cumulocity.com/t/cockpit-groups/7394/6 "2024-01-07T20:21:32Z")

</div>

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