# How to display a name from a collectionlinks collectionlink

**URL:** <https://discourse.getcockpit.com/t/how-to-display-a-name-from-a-collectionlinks-collectionlink/2899>\
**Category:** Uncategorized\
**Created:** [November 30, 2023, 3:32pm UTC](https://discourse.getcockpit.com/t/how-to-display-a-name-from-a-collectionlinks-collectionlink/2899 "2023-11-30T15:32:34Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sephen](https://avatars.discourse-cdn.com/v4/letter/s/ee7513/32.png) [@Sephen](https://discourse.getcockpit.com/u/Sephen)\
**Post date:** [November 30, 2023, 3:32pm UTC](https://discourse.getcockpit.com/t/how-to-display-a-name-from-a-collectionlinks-collectionlink/2899/1 "2023-11-30T15:32:34Z")

</div>

I have a product with a collection link to flavour and display the name like this:  
`display: '${data.name}, (${data.abbreviation})'` and this works.  
But when i link to product with a collection link how do i display the flavour now i get  
object, (object) instead of the flavour name and abbreviation?

Any thoughts?

---

<div class="post-metadata">

**Author:** ![Sephen](https://avatars.discourse-cdn.com/v4/letter/s/ee7513/32.png) [@Sephen](https://discourse.getcockpit.com/u/Sephen)\
**Post date:** [January 11, 2024, 5:59pm UTC](https://discourse.getcockpit.com/t/how-to-display-a-name-from-a-collectionlinks-collectionlink/2899/2 "2024-01-11T17:59:55Z")

</div>

To clarify the issue if I have collections named Pallet, Box and Product and they are linked via a collectionlink like:

```auto

Pallet|-->Box|-->Product

```

How can I get the name of the Product in Pallet?

---

<div class="post-metadata">

**Author:** ![m00gendai](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.getcockpit.com/m00gendai/32/1269_2.png) [@m00gendai](https://discourse.getcockpit.com/u/m00gendai)\
**Post date:** [January 29, 2024, 11:52am UTC](https://discourse.getcockpit.com/t/how-to-display-a-name-from-a-collectionlinks-collectionlink/2899/3 "2024-01-29T11:52:43Z")

</div>

Is this perhaps similar to my question I had a while ago?  
[Display field in nested Set of field - Cockpit v2 - Cockpit Community (getcockpit.com)](https://discourse.getcockpit.com/t/display-field-in-nested-set-of-field/2855)
