cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
wout1123
Frequent Visitor

PDF viewer

Hi all,

 

I cant seem to get the pdf viewer to work? can someone explain to me how i add pfd files to the pdf viewer?

 

Thanks in advanace!

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support
Community Support

Re: PDF viewer

Hi @wout1123 

 

Do you want to import the PDF file and show in the PDF Viewer?

The PowerAps Media doesn't support PDF documents. The way to work around the issue was to rename the PDF documents with a JPG extension, that means rename the xxx.PDF to xxx.JPG. This will enable you to upload File to Media.

Annotation 2019-11-20 173145.png

And then, Set the Document property of the PDF Viewer control to the image file.

Snipaste_2019-11-20_17-32-01.png

Since PDF viewer is still in Experimental Stage, there are some limitations with it:

1. The security architecture of PowerApps requires the PDF Viewer to support only HTTPS links, not HTTP.

2. The Document property must link directly to the PDF file. Server redirects or HTML views of the document aren't supported.

3. The server that hosts the document must not require authentication.

4. You may not be able to view a PDF document in your app if the document resides on a server that has restrictive cross-origin resource sharing (CORS) settings. To resolve this issue, the server that hosts PDF documents must permit cross-origin requests from powerapps.com.

Best regards,

Sik

View solution in original post

1 REPLY 1
Community Support
Community Support

Re: PDF viewer

Hi @wout1123 

 

Do you want to import the PDF file and show in the PDF Viewer?

The PowerAps Media doesn't support PDF documents. The way to work around the issue was to rename the PDF documents with a JPG extension, that means rename the xxx.PDF to xxx.JPG. This will enable you to upload File to Media.

Annotation 2019-11-20 173145.png

And then, Set the Document property of the PDF Viewer control to the image file.

Snipaste_2019-11-20_17-32-01.png

Since PDF viewer is still in Experimental Stage, there are some limitations with it:

1. The security architecture of PowerApps requires the PDF Viewer to support only HTTPS links, not HTTP.

2. The Document property must link directly to the PDF file. Server redirects or HTML views of the document aren't supported.

3. The server that hosts the document must not require authentication.

4. You may not be able to view a PDF document in your app if the document resides on a server that has restrictive cross-origin resource sharing (CORS) settings. To resolve this issue, the server that hosts PDF documents must permit cross-origin requests from powerapps.com.

Best regards,

Sik

View solution in original post

Helpful resources

Announcements
firstImage

New Ranks and Rank Icons released on April 21!

The time has come: We are finally able to share more details on the brand-new ranks coming to the Power Apps Community!

Power Platform 2020 release wave 1 plan

Power Platform 2020 release wave 1 plan

Features releasing from April 2020 through September 2020

Top Solution Authors
Top Kudoed Authors
Users online (7,615)