cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
gjeh
Responsive Resident
Responsive Resident

Get PDF when online, Load local when offline

Hi All,

 

I'm trying to put together an app that basicly first checks wether it's connected to internet with if connection.connected and in case the connection is true i would like to download the pdf files to my device so when the user next time loads the app and he doesn't have internet he can still view the pdf files from local storage.

 

Would this even be possible or am i too hopeful ?

 

regards

1 ACCEPTED SOLUTION

Accepted Solutions
WarrenBelz
Super User
Super User

Hi @gjeh ,

Getting the file to local storage is not the issue, the problem is then “pointing” at it in PowerApps and knowing the address to do this with the wide variety of devices and OS versions.

 

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

View solution in original post

2 REPLIES 2
gjeh
Responsive Resident
Responsive Resident

So far I've tried making a collection storing the base64 content of the files in sharepoint, but when trying to build up the files in my app i am faced with the error that the pdf file does not originate from an https connection.

therefore i am afraid to conclude that my wish is not achievable.

WarrenBelz
Super User
Super User

Hi @gjeh ,

Getting the file to local storage is not the issue, the problem is then “pointing” at it in PowerApps and knowing the address to do this with the wide variety of devices and OS versions.

 

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

Helpful resources

Announcements
PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.

Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

Top Solution Authors
Top Kudoed Authors
Users online (2,535)