web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / PDF Viewer (PDF Size r...
Power Apps
Unanswered

PDF Viewer (PDF Size restrictions?)

(0) ShareShare
ReportReport
Posted on by 69

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?

Categories:
I have the same question (0)
  • Verified answer
    v-yutliu-msft Profile Picture
    on at

    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,

  • KUNGFUPANDA559 Profile Picture
    69 on at

    Forgot to configure CORS for a new resource group (Doh!)  Thanks @v-yutliu-msft 

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 796 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 327 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard