1

I am wondering is it possible to create a PowerApp mobile app which can function without internet connection and perhaps store data from the database (i.e SharePoint List or SQL Database) locally on the device in case the app needs to be used offline ?

1 Answer 1

1

Yes, it is possible to develop offline-capable canvas apps.

Here is what you can do:

  • Determine when an app is offline, online, or in a metered connection by using the Connection signal object.
  • Use collections and leverage the LoadData and SaveData functions for basic data storage when offline.

Microsoft documentation: Develop offline-capable canvas apps

Additional References:

  1. Build offline apps with new PowerApps capabilities
  2. Implementing Offline Capability In Your App

There are some limitations with using offline capabilities. You can check it in documentation and references given above.

3
  • Thank you for the input and references they were extremely useful. I still have a few questions. Say the app is an app which collects user input through a form. What if the user submits multiple forms while in offline mode ? Will the app submit the form in sequence or randomly? And how will the app store this local cache which is stored on the device ? If you have any information about this I would be extremely grateful Nov 24, 2020 at 6:30
  • 1
    As per the documentation (link given above), this operate on an in-memory collection. Available memory can vary depending on the device, the operating system, the memory that Power Apps Mobile uses, and the complexity of the app in terms of screens and controls. If you store more than a few megabytes of data, test your app with expected scenarios on the devices on which you expect it to run. You'll generally have 30-70 megabytes of available memory. Nov 24, 2020 at 7:39
  • 1
    About submitting multiple forms, this is up to you and how you design your app. when user comes online you will load data from local memory in a collection and then you can submit the data to data source as per your requirements. Nov 24, 2020 at 7:41

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.