cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

PDF Viewer: invalid pdf structure

evening,

 

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?

 

Karl

15 REPLIES 15

Hi Karlkeegan,

 

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.

 

Best regards,
Mabel Mao

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi Karl,

 

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.

 

Best regards,

Irina

 

 

 

 

Meneghino
Community Champion
Community Champion

 

Please note that @UB400 has created the idea for this.  Please add your kudos to it.

https://powerusers.microsoft.com/t5/PowerApps-Ideas/PDF-Viewer-support-for-PDF-documents-in-Sharepoi...

Thanks.

Anonymous
Not applicable

Hi Karlkeegan 

 

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

 

chrom3d

Timur
Frequent Visitor

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

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

May UG Leader Call Carousel 768x460.png

June User Group Leader Call

Join us on June 28 for our monthly User Group leader call!

PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.

PA.JPG

New Release Planning Portal (Preview)

Check out our new release planning portal, an interactive way to plan and prepare for upcoming features in Power Platform.

Top Solution Authors
Users online (1,221)