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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / PDF viewer phone layout.
Power Apps
Unanswered

PDF viewer phone layout.

(0) ShareShare
ReportReport
Posted on by 103

Hi all,

I am new to powerapps. Now i am creating a pdf viewer in my app.

below is the screen1 for the app.

screen1screen1

I have used ONEDRIVE connection for my PDF app. In the refresh button i have created flow to read the files names which are present in the folder.

Now i need to show the pdf file in the screen2 which user selected in the screen1.

can anyone help me to write formula for the screen2.

Thanks,

with regards,

user237.

Categories:
  • v-siky-msft Profile Picture
    Microsoft Employee on at

    Hi  @Sumaira ,

     

    PDF files stored in OneDrive for business can't be displayed directly on the PDF Viewer control since this control only supports the PDF files without any authentication, however the files stores in OneDrive/SharePoint Library does need Authentication, so this way doesn't work.

    Here is an alternative workaround requires MS flow by Http request, which is a bit of little complicated but effective. Please learn from this video for details.

    Sik

     

  • Srihari.molaka Profile Picture
    103 on at

    Hi @v-siky-msft ,

    Thanks for your reply.

    Can we acheive this in any other way? like using the other connections(SFTP, File System or etc.,).

    I have tried by giving the connection using both SFTP and File Sytems.

    I have mentioned the path for that connections. In that folder 1 excel sheet and 3 pdf files are present.

    when i am trying to add data source it was showing only excel sheet but the other 3 pdf files are not showing.

    In the search also it shows only " Choose excel file". how to change the selection of files.

    with regards.

    user237.

     

  • v-siky-msft Profile Picture
    Microsoft Employee on at

    Hi @User237 ,

     

    Sorry, I'm afraid not. File Systems connector is to read from and write to files, but the file must be the data table, so only excel sheet can be found.

    The solution I recommend to you to get PDF files by using HTTP Request in flow is by far the most efficient or even the only one available.

    Sik

     

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 411 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 338

#3
WarrenBelz Profile Picture

WarrenBelz 256 Most Valuable Professional

Last 30 days Overall leaderboard