PDF viewer shows the wrong file despite the right URL

Hi everyone,

Recently, PDF viewer started behaving strangely. One new bug I seem to have is when I have two different PDF viewers on a same page, suppose to each show a different file, they show the same file, despite their URL redirecting towards two different addresses.

In my case, I have student profile pages.
Some pages only shows CV (in this case the PDF viewer rightfully points to the CV), but some students uploaded a CV and a book (and in this case both PDF viewers show the book, despite the URLs being the right ones).

I don’t have any conditional that could make that happen.

Thanks a lot for your much needed help, as the product is live!



1 Like

Note that this was not the case before (for sure not a few weeks ago, but I would also say not a few days ago).

1 Like

Hi @tanguy!

Reasonable point. The PDF Viewer had some issues recently after Bubble updates on the data level. Maybe @manikandan can share with you more on this?

Thanks!

Thank you for your input! I know this is a bit niche, but I’m very surprised by how weird the problem is

1 Like

Hi @all,
It upto the bubble development team, they have recently updated the file storage path.
Note: Its a free plugin.

I have tried with applying dynamic pdf files viewing by using this plugin was showing correctly.
Demo URL : Your Bubble app
Bubble app editor url : Sampledec14 | Bubble Editor

Note: If any please contact me at mani2726@gmail.com

1 Like

Still the solution with Find and Replace doesn’t work if you want for PDF Viewer to fetch pdf file not from URL in the state, for example if you want to make it dynamic and depending on the Parent group data source, rather each time having a workflow action to add a state.

Hi @all,
Added New param “APP Name” to this Pdf Viewer element.
Its allows to overcome the issues of viewing the PDF files from bubble aws files.
It upto the bubble development team, they have recently updated the file storage path.
Note: Its a free plugin.

I have tried with applying dynamic pdf files viewing by using this plugin was showing correctly.
Demo URL : Your Bubble app
Bubble app editor url : Sampledec14 | Bubble Editor

Note: If any please contact me at mani2726@gmail.com

Thanks a lot for the updates Manikandan.
Going back to my problem, I solved it today. It was actually dumb: I had the same “pdf viewer ID” for both of my pdf viewers, as I copied an pasted the first to create the second.
I apologize for not being smarter.

1 Like