I am trying to get the pdf viewer to work using a pdf that Excel 2016 has created. I just keep getting this message...
PDF.js v1.4.139 (build: 56f5c3a)
Message: Invalid PDF structure
can anyone help with this?
I tested with OneDrive and Dropdown box, but I got the result with “Invalid PDF structure”. So I guess that the PDF files saved in OneDrive and Dropdown box are not supported.
It looks like most of the services don't provide direct access to the file when sharing them through links. I did find some documentation on how to get that direct link in Dropbox. You need to add ?dl=1 at the end of the url. Here is a reference to the help article: https://www.dropbox.com/en/help/201
Hope that works for you - I tried and it does the trick.
Please note that @UB400 has created the idea for this. Please add your kudos to it.
I had this issue before and what fixed it for me is making sure the permission is set to public. Powerapps won't show pdf's that is not on a public location or open to the public. I placed my pdf on my onedrive and changed the permission settings.
Hope this helps
Dropbox usually gives your a public link to a file with "dl=0" parametr in the end, if you change it to "raw=1" you'll get a raw file which will be accessible without any autorisation. The problem is that even this type of link doesn't work in PDF control
Stay up tp date on the latest blogs and activities in the community News & Announcements.
Mark your calendars and join us for the next Power Apps Community Call on January 20th, 8a PST
Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.
Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!