Hi #givemeawhisky
I read what are you provided and the part of the query “include function” was useful because I had not found it yet.
However, my problem is not to get the data from the reference field (function that the query would do), but to insert it in the associated field. In practice the collection 1 has the populated field, I have to save into reference field of collection 2
I’ll give you some examples I found but I can’t able to adapt to my case, but they explain my situation:
This is the same situation of mine
https://www.wix.com/corvid/forum/community-discussion/reference-field-1
This is your solution in case of repeater, but I have only one field.
https://www.wix.com/corvid/forum/community-discussion/accessing-a-field-in-a-referenced-collection-by-code-using-itemdata
Can you help me?
Thank you