Just use the search function for this forum and you will find results...
To find out more about repeaters and using them with code, then please make sure that you read the Wix API Reference for Repeaters
I have searched this forum but there are no answers related to this question.
@Yisrael (Wix) or anyone who has knowledge about this,could you please help me.
It's no very clear what exactly you want to do. More details are needed.
Anyway you can put a pdf viewer in lighboxes and connect the buttons to the lightbox.
You cannot change the pdf file using Corvid, but you can have different files on different lightboxes with different files and connect them to the button.
For example : I am using following repeater from Wix and I have connected every field to a data collection so that different data will be displayed for each repeater box.
1. 'Read More...' button of repeater is connected to the data collection,which has a pdf file associated with it as per data collection and data collection field type is 'File' so this way each row will have different pdf files and will be linked to the 'Read More...' button of the repeater.
2. Now when a user clicks on 'Read More...' button then pdf file linked to the 'Read More...' should open in a new window with wix pdf viwer.
Could you please let me know this can be achieved?
As I said, currently you cannot replace the file in the PDF reader app via Corvid.
So you if you want to use the PDF reader app (and not a 3rd party solution) you'll have to create a separate page/lightbox for each of the files, then you can link the button to the page path that's stored on your collection.
Thanks @J. D. , I will try this and let you know.