cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
jefferygleason
Frequent Visitor

Monitoring and Debugging on Mobile For Offline

I'm building a somewhat complicated Canvas App that requires the ability to switch between offline / online modes during or between sessions.  The app uses collections for data sources in most areas, which are created while online and then saved to local storage using SaveData().  When offline, it loads the collections from the locally stored files using LoadData().  It determines if it's online/offline by checking connection status but also checking the value of a checkbox on the settings screen that tells it to simulate being offline for testing.

 

Of course I encounter the limitations concerning SaveData / LoadData in studio which means a great deal of my app cannot be tested in Studio.  Studio won't write or read data to local files, which is just astonishing to me.  Has anyone found a better way to do this?  Do I just need to use a different low code / no code tool than Powerapps for mobile apps?  If so, does anyone have any suggestions?

 

Thanks!

1 REPLY 1
RandyHayes
Super User III
Super User III

@jefferygleason 

Done quite a few online/offline apps in PowerApps and haven't encountered much issue with that aspect of it.

In general, you will have a statement somewhere that will simply populate your collection based on status.  If offline and on a mobile, then Load from device.  It's one line.  After that everything else is identical, browser or device.

 

I hope this is helpful for you.

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up below. Solved your problem? - Click on Accept as Solution below. Others seeking the same answers will be happy you did.
Check out my PowerApps Videos too! And, follow me on Twitter @RandyHayes

Really want to show your appreciation? Buy Me A Cup Of Coffee!

Helpful resources

Announcements
PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.

Users online (5,638)