I have 2 collection
Collection 1/2/3/4 etc - has the content I want to display
Collection B - a collection with several multi-reference fields - each of these multi-references is link to 1 of the collection in Collection 1/2/3/4 - I made 3 selections.
Use the following process
– Add 3 item repeater on page
– Add 1 of the collection from 1/2/3/4 - say I added Collection 3
– Add collection B to page
Add filter to Collection 3 --selected Another Dataset from filter and selected the correct multi-reference field.
Connect text elements to fields in Collection 3
NOT WORKING–no errors just that the correct field data are not showing.
Spent 5 days with customer support – USELESS - escalated – STILL NOT ANSWER
The filter you set up (“Another dataset” on a multi-reference field) often shows nothing when the parent dataset (Collection B) isn’t on a single item yet. A few things to check:
- Collection B’s dataset must point at one item. If it’s a regular dataset, it sits on the first item by default, which may not be the one with your 3 selections. On a dynamic page it’s the current item; on a normal page you may need a filter on B (e.g. by title) so it lands on the right row.
- The filter has to be on the multi-reference field that points to Collection 3. If B has several multi-reference fields, picking one that points to Collection 1 or 2 returns nothing without any error.
- Repeater connected to the Collection 3 dataset, not B. Text elements inside the repeater should connect to Collection 3’s fields.
- Preview vs live data. If you entered the references in the Sandbox/preview data only, the live site has none. Sync or check Live collection.
If it still doesn’t show, a small Velo fallback is reliable:
import wixData from 'wix-data';
$w.onReady(async () => {
const res = await wixData.queryReferenced('CollectionB', '<item id of B>', 'yourMultiRefField');
$w('#repeater1').data = res.items;
$w('#repeater1').onItemReady(($item, item) => {
$item('#title').text = item.title;
});
});
queryReferenced returns exactly the items you selected in that field, so if this shows the 3 items, the data is fine and it’s the dataset wiring.