Multiple referenced fields in a database column - Problem

Dear community,
I have a main collection called “Fenster”. This collection has a column “Farbe” containing multiple references to a collection called “Farbe”.

By selecting an item from my main collection, the column containing multiple references doesn’t display anything. Both collections - the main collection and the referenced collection - have been synchronized.

Can somebody figure out what’s the problem here?
See pictures for better understanding.

Thanks and greetings,
Norbert Mosinski
Main collection:

Reference field:

Referenced collection:

Item access in code:

Result:

In order to get information about a referenced item you’ll need to use a queryReferenced() function instead of get(). Please check out this reference for more information: https://www.wix.com/corvid/reference/wix-data.html#queryReferenced

1 Like