I’m trying to display a second dataset from a CMS collection in a repeater on a dynamic page. The first dataset displays correctly but when I copied the page section containing that repeater to a new section and connected the new repeater to a second dataset (using a different filter), I get no records displayed.
Working in
Wix Studio Editor, CMS
What I’m trying to do, What I’ve tried so far
My original CMS collection treated all stored documents as the same type and they were, therefore, all displayed in a single repeater on a dynamic page.
I needed to include, and display separately, a different document type so I added a “DocType” field and changed the original dataset displaying my documents to include a filter to select just the old documents. Changing the value in the “DocType” field displays or hides documents correctly through the filter’s criteria.
I copied the entire section containing the repeater and pasted it as a new section. This gave me a clone of the original display. I changed the repeater’s CMS connection to use a new dataset with a different filter value (select by the new document type). The connection management dialogue shows me that I have the correct number of entries in the filter. The preview shows me the correct month for each new document but selects the year and title from the second entry in the CMS collection and, when I hit the display button, shows that first document.
Note that the screenshot of the CMS shows a data validation warning. I corrected that and repeated the tests with equivalent results.
Screenshots of the good and the bad
Working correctly above.
Wrong selections below.
Sample of the data content…


