Hi all,
I'm working on a PowerApps application where I generate PDF files and store them in a SharePoint document library. I use a gallery to display a list of these PDF files, and when a I selects the latest one, I want to show a preview in the PowerApps PDF Viewer.
The issue I'm facing is that sometimes the PDF Viewer displays a blank screen. The gallery correctly shows the newly added PDFs, and when I hover over the link, I can confirm that the PDF Viewer is getting the correct PDF link, but it still shows nothing. It seems like the PDF Viewer is not refreshing properly or is caching the older file. When I refresh the whole page, the PDF Viewer displays the file correctly.
Does anyone know how we can fix this issue?