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 / Loading PDF files from...
Power Apps
Answered

Loading PDF files from SP document Library

(0) ShareShare
ReportReport
Posted on by 55

Hi,

I have PA app for viewing PDF files. Gallery with file names (filtered by file path, because i have multiple folders), when I click on name PDF viewer shows me PDF file content (Data URI flow). Everything worked like charm when I had few PDF files, but when I crossed +-150MB (30 PDF files) it stopped working and gallery stopped displaying files with error message : An error occurred when trying to retrieve data from the network, or that the dataset is too large. Also I am suprised (back in time when everything worked) that the gallery automaticlly load all the files and cant just show name of the files. Is there some way to not load any PDF until i click on one or any other workaround to filter and display PDF files? 

 

Thanks

Categories:
  • Khaston Profile Picture
    55 on at

    Update: Only error it shows is:  An error occurred when trying to retrieve data from the network.

    Cannot display literally anything, trying to filter gallery or just show only the source but its always blank, I guess if its not list then it does not work.

    Does it mean that I can't browse in 2GB document library file in power Apps?

  • Verified answer
    Khaston Profile Picture
    55 on at

    Found the problem. It was in the dataURI, saving it made everything so slow, just have to find another way to display PDF.

  • Tucker4GIS Profile Picture
    4 on at

    Try this method instead.

     

    https://www.matthewdevaney.com/power-apps-view-a-pdf-stored-in-a-sharepoint-document-library/

     

    Very similar methods. But the linked method doesn't store the datauri in the library 

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

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 234 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 207 Most Valuable Professional

#3
timl Profile Picture

timl 122 Super User 2026 Season 2

Last 30 days Overall leaderboard