How to configure a list repeater to open a document stored in CMS?

I have a WIX CMS containing a list of club newsletters. The CMS contains date and title fields (type = text) and an uploaded newsletter, usually a PDF but it could be any format (type = document). I want to build a dynamic page (list repeater) to present site visitors with a sorted list of published newsletters and allow them to open a chosen document.

If I use a repeater with a button in it I can open the document but I only get one button in each container. If I use a list repeater, the field pointing to the document itself cannot be selected as a field in the resulting table.

Any suggestions would be appreciated.

I think you should be able to use a repeater for this.

From my understanding, you have a CMS with 3 fields - Date, Title, Document.

In the repeater, you can have a button connected to the Document field, that will download the document each time it’s clicked.

If this isn’t what you’re needing, are you able to provide some more details about the setup and what you’re hoping to achieve?

Thanks Noah. You’ve understood the design correctly and described what I hoped to achieve. My problem is that when I use the template-supplied table repeater I cannot see a way to add the button. If I use a different repeater from the templates I can but that creates a single container per CMS entry (one per newsletter). This is my first effort with WIX so it’s probable that I’ve missed something simple or perhaps I need to blend the code from two templates to create my own repeater.

The field in my CMS which contains the document is not available as a field to add to the table when I “manage table”. It’s not a “greyed out” field, it simply does not appear at all.

Do you have a link to the site you might be able to share?

Newsletters (List) | Gwcpc2 (murraypnicholas.wixsite.com)

It was a members’ only page but I’ve made it public for now.

You’ll see there’s one repeater with a series of containers containing one button for each CMS entry but only a button pointing to the document. There’s a second repeater, a table, with a number of text fields to tell visitors what the document is but I cannot put a button or active link of any sort into that.

So, I’d recommend sticking with the repeater, you can add other elements to it, such as text etc.

I think this tutorial is going to set you on the right path - https://www.youtube.com/watch?v=vnZMJ-8UqzQ

Good luck!

Thank you Noah.

I don’t think it looks like the pre-configured “table” repeater will do what I want but I have been able to create a different one and add the button to launch my document. That’s working quite satisfactorily now and will be supportable into the future.

Appreciate your help on this one.