I'm trying to use the PDFviewer to display forms. I suspect my issue is one of the following:
1. PDF File Size?
2. Azure Blob permissions
I can copy the URL that was created by logic app, and navigate to resource without issue in a browser. Yet when I attempt to define the Document property of the pdf viewer, it states that it "Couldn't open PDF file". When I click the "open in my browser instead", it navigates without issue.
I've successfully used the PDF Viewer historically using flow. In this case i'm trying to grab the URL (weblink created through logic app) from file properties in sharepoint.
Thoughts?
Solved! Go to Solution.
Hi @KUNGFUPANDA559 ,
Since PDF viewer use pdf online, so this has no size limit.
Yes, permission is a problem. Only if you have permission that pdf, then you could view it in powerapps.
Pdf viewer also has these limitations, please check:
1) 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.
Here's a doc about this connector for your reference:
https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/controls/control-pdf-viewer
Best regards,
Hi @KUNGFUPANDA559 ,
Since PDF viewer use pdf online, so this has no size limit.
Yes, permission is a problem. Only if you have permission that pdf, then you could view it in powerapps.
Pdf viewer also has these limitations, please check:
1) 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.
Here's a doc about this connector for your reference:
https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/controls/control-pdf-viewer
Best regards,
User | Count |
---|---|
160 | |
84 | |
68 | |
63 | |
61 |
User | Count |
---|---|
211 | |
146 | |
95 | |
82 | |
67 |