Expression targeting an entry in a reference collection

In wix studio I’m on a dynamic page for a CMS collection that has a referenced CMS collection (“artistEntry”) in it. I would want a button to have the text “Shop of” + Title in the referenced CMS. When I do CONCAT("Shop of ",artistEntry) I am getting “Shop of 123aa123-123aa12-3aa123” (number is changed because I don’t know its privacy relevance). I have tried multiple approaches like CONCAT("Shop of ",artistEntry.title) or CONCAT("Shop of ",artistEntry(title)) but seem not to get how to specify further inside of that referenced CMS.

Thanks!

A. The _id field you changed is not secret so don’t worry about that

B. How do you define the artistEntry variable? Generally you’d need to use queryReferenced to get the records referenced by the item you’re viewing

Hey Dean,

so I have a CMS collection called “Exhibitions” and another one called “Artists”.

In the “Exhibitions” collection I have a reference field to select one entry of the “Artists” rows.

Now I have a button on a dynamic page of the “Exhibitions” collection.

That button links to a shop category page.

I would like to have it say “Shop of ArtistX”.

The cell that says “ArtistX” is tho only mentioned in the linked “Artists” collection.

Thanks!

Either creation another dataset to the artist collection and filter it by the reference field
Or query referenced data