Hi. Thank you for the video. I have a CMS with recipes on my website. I would like to cross-reference to mentioned "base recipes" from another collection. Then I'd like to display a repeater or a gallery at the bottom of the Recipe Item page that would show these mentioned/cross-referenced recipes from another collection but I can't figure out how to connect this, because when I create a repeater, I can't connect it to the cross-reference field. Do you have an advice or a video on how to do this? Thank you so much!!
This question may be more appropriate for our forum so you can share your code, where you are stuck, and any relevant screenshots but in case it is useful here is the documentation for querying reference items dev.wix.com/docs/develop-websites/articles/databases/wix-data/reference-fields/querying-items-that-reference-other-items. Once you have your query working, you can then populate your repeater with code. If you want to post your ful question in the forum with your code snippet so far, the link is here forum.wixstudio.com/tag/code
I gather that if you know Java then you can write a code to use queryreference. Is it possible to use the function without coding? For example, how would you search the ingredients of a particular sandwich from the user-interface without using code? I have managed to do it for non referenced fields, referenced fields, but I am stuck with multi-referenced fields. Thanks.
interesting.. so the "title" field inherents the name of the collection (table). so the name of your collection (table) is "ingredients" therefore the first field in that table (The title) is also "ingredients". I'm assuming in the background what we are dealing with is a relational database. this user friendly interface hides the back end "real" ID? I would assume there is a unique constraint on "title"... You could not have two rows in the ingredients collection with a title equal to "salt"?
Actually, behind the scenes is a document based DB! There is a unique id that is not shown in the UI of the Content Manager that does have the unique value constraint. However anything marked as "primary" in the UI, doesn't necessarily have to follow this since it's not the true primary key, but a primary key for easier user use.
Sorry you are having some filtering frustrations! For better help with this, some more context will be needed. Please add a post in our forum with a code snippet, what is currently happening versus what you expect to happen so that folks there can help debug forum.wixstudio.com/tag/code
Hi, If you need assistance or to a hire a developer, I would recommend joining our Discord Channel to chat with our top users, posting a question in the Forum, or checking out our Marketplace to hire a freelancer!
Hi. Thank you for the video. I have a CMS with recipes on my website. I would like to cross-reference to mentioned "base recipes" from another collection. Then I'd like to display a repeater or a gallery at the bottom of the Recipe Item page that would show these mentioned/cross-referenced recipes from another collection but I can't figure out how to connect this, because when I create a repeater, I can't connect it to the cross-reference field. Do you have an advice or a video on how to do this? Thank you so much!!
This question may be more appropriate for our forum so you can share your code, where you are stuck, and any relevant screenshots but in case it is useful here is the documentation for querying reference items dev.wix.com/docs/develop-websites/articles/databases/wix-data/reference-fields/querying-items-that-reference-other-items. Once you have your query working, you can then populate your repeater with code. If you want to post your ful question in the forum with your code snippet so far, the link is here forum.wixstudio.com/tag/code
I gather that if you know Java then you can write a code to use queryreference.
Is it possible to use the function without coding?
For example, how would you search the ingredients of a particular sandwich from the user-interface without using code? I have managed to do it for non referenced fields, referenced fields, but I am stuck with multi-referenced fields.
Thanks.
The user doesn't need to know how to code, but the developer Must know how to do it
interesting.. so the "title" field inherents the name of the collection (table). so the name of your collection (table) is "ingredients" therefore the first field in that table (The title) is also "ingredients". I'm assuming in the background what we are dealing with is a relational database. this user friendly interface hides the back end "real" ID? I would assume there is a unique constraint on "title"... You could not have two rows in the ingredients collection with a title equal to "salt"?
Actually, behind the scenes is a document based DB! There is a unique id that is not shown in the UI of the Content Manager that does have the unique value constraint. However anything marked as "primary" in the UI, doesn't necessarily have to follow this since it's not the true primary key, but a primary key for easier user use.
can we ask you to create one such module on our website?
Very well explained, thank you
i'm trying to filter a repeater based on whether what is in the multiref field matches a separate text element. nothing is working.
Sorry you are having some filtering frustrations! For better help with this, some more context will be needed. Please add a post in our forum with a code snippet, what is currently happening versus what you expect to happen so that folks there can help debug forum.wixstudio.com/tag/code
Hello, great video! Do you design website for customers? I need one done and I think this database thing would be perfect for me, please let me know!
Hello! If you are looking to find someone to hire to help you with design or code, check out our marketplace: www.wix.com/marketplace
nice video sir. can you assist me with my Wix website? I need someone like you I can speak to about my situation. 🙏🙏
Hi, If you need assistance or to a hire a developer, I would recommend joining our Discord Channel to chat with our top users, posting a question in the Forum, or checking out our Marketplace to hire a freelancer!
good God is it me or webflow multireference is way easier