Hi everyone,
I’m trying to create a team page using a dynamic page. Is it possible to link two CMS collections to the same dynamic page?
Thank you!
Hi everyone,
I’m trying to create a team page using a dynamic page. Is it possible to link two CMS collections to the same dynamic page?
Thank you!
Yes, you can link two CMS collections to the same dynamic page in Wix by creating a reference field in one collection that links to the second collection, and then using Velo (Wix Code) to fetch and display data from both collections on the same page, allowing you to dynamically populate the page with content from both sources.
Hi, thanks for the explanation. We will try it out.
Do you happen to have a sample code or example we could refer to for the Velo (Wix Code) setup?
Thank you
As Michael_Francis_Urci says, just need a reference field in one CMS that links the the 2 CMSs. So long as you have this link, you should be able to natively add the CMS that contains the reference as a dataset to the page and this will allow access to fields from both of the referenced CMSs natively without the need for Velo.
Hi @Stevemondaymedia. Thanks for the clarification. Just to confirm — does this approach apply to both dynamic pages and standard (blank) pages as well?
If 'I’m understanding correctly, then yes, they should both work in the same way. The data connection (reference) is within the CMS and not page related.
Hi, for Dynamic Pages in Wix, is it mandatory to use a repeater to connect to the CMS and filter data from two CMS collections?