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!
Solved! Go to Solution.
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.
And then, Set the Document property of the PDF Viewer control to the image file.
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
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.
And then, Set the Document property of the PDF Viewer control to the image file.
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
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.
User | Count |
---|---|
203 | |
187 | |
81 | |
50 | |
37 |
User | Count |
---|---|
290 | |
244 | |
122 | |
74 | |
55 |