I'm trying to use the PDF viewer but it simply doesn't work. I tried the example in the Docs (https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/controls/control-pdf-viewer) but this doesn't work. All it does is show the pdf controls and a grey background.
I have also tried following the instructions on this page: https://masteroffice365.com/viewing-pdfs-from-sharepoint-within-powerapps/
My flow has the correct string (or at least I think it has, power automate is horribly designed and doesn't show the full string as output put if save the same string to a file, the file opens correctly) but again the pdf viewer only shows a grey screen.
If I try to see what powerapps is receiving from the flow by putting the var I'm writing the output from the flow to in a label, all it shows is something like appress:blogmanager/... instead of the actual string.
I've also followed this (https://www.youtube.com/watch?v=ut0g7hsWoC4) video and the result is the same. All I get is the grey screen.
Solved! Go to Solution.
Thanks, I created a new app, downgraded to the version in the link and now my pdf is opening.
Unfortunately it seems that my existing apps have a dependency somewhere that causes errors when selecting a older version. Not sure what though as Powerapps doesn't provide any error information other than the session ID...
Do we have any idea when MS plans to fix this?
Hello @Naps there is one way to do this like you can store pdf file in a collection and show this collection in a gallery and add a button to view this file . and also you need to make sure you have given its document property to the same as the gallery.selected so that it can get to know which file is to be viewed