Mobile offline for canvas apps (preview)
[This topic is pre-release documentation and is subject to change.]
You can easily enable canvas apps that are based on Dataverse for offline-first scenarios with simple switches and a simple canvas control. This feature is useful for field and remote workers or anyone with spotty or no access to the internet.
Basic offline-first apps are easy to build. There is no need to use PowerFx’s SaveData or LoadData functions or manage offline data with complex, collection schemes in PowerFx. Just build your app with normal Power Fx formulas and the offline features handle all the complexity for you.
Important
This offline-first feature currently only works with Dataverse tables. The following list enumerates the commonly delegated Power Fx functions not yet supported for offline-first. This list is not exhaustive. Delegation support for these functions is under active development. Check back with this list for the most current information. The functions are listed in alphbetical order.
- CountRows
- Filter/Lookup on Lookup field
- First
- In
- IsBlank
- Relate
- Search
- StartsWith
- Sum/Min/Max/Avg
- Unrelate
Complex, offline apps are also supported. Complex, offline scenarios are enabled with custom offline profiles. An offline profile is a set of filters and restrictions on the data that you load to your device. For example, while you may have access rights to millions of records for a table, you may only need a thousand records for your app. If you only download a thousand records, your app performs better. Use offline profiles to optimize your app’s performance by reducing the data downloaded to the mobile device. If you need more than 15 tables in your offline app, you may want to consider a custom offline profile.
To get started with mobile offline for canvas apps, an app maker needs to enable the app for offline and enable the tables used in the app for offline. A basic offline screen template is automatically inserted into the app for you to use directly or as a starting point. More information: Set up mobile offline for canvas apps.
Important
Preview features aren’t meant for production use and may have restricted functionality. These features are available before an official release so that customers can get early access and provide feedback.
This feature is in process of rolling out and may not be available in your region yet.
Mobile offline-first
Offline-first means that all the data you may need when offline is copied to your mobile device. This requires initial network access to download the data. Once you have your data, you only work with the data on your local device all the time. This is true both when you are online and offline.
Moving in and out of network access does not affect performance of the app because it is using local data. Power Apps monitors network access and automatically syncs the changes you have made locally with the server, and downloads any updates made on the server. The offline features automatically handle spotty network connections, download data, upload data, and handle conflict detection and more. The built-in offline features minimize system resources and are highly performant.
After offline is enabled for your app, the Power Apps mobile app always runs offline-first, either with or without an internet connection. This functionality optimizes offline performance and creates a consistent experience for users as they change locations. For example, consider the following scenarios:
- Offline-first without an internet connection: Data is downloaded, and all changes are saved to your mobile device. When the internet connection is restored, the changes are automatically synced to the server.
- Offline-first with an internet connection: Data is downloaded to the device, and all changes are saved locally. Because there's an internet connection, the app automatically attempts to sync every few minutes.
More information: Working with canvas apps offline.
Feedback
Submit and view feedback for