When in the field users connectivity is very very poor. Synchronization and loading pages can take a very long time and this does not make the app user friendly.
It was suggested that we tell our users to work in Airplane Mode or Cellular data off option to speed up the app screen loading, but that is not practical for a Field Sales Rep as he/she needs to be contactable at all times for customer calls etc.
Do Power apps has any switch or control that we can make app online or offline that allows the user to state whether they wish the APP to be online or offline?
Unfortunately, you cannot toggle the app itself to be offline or online.
You can explore patterns which involve using Collections, which will allow the data to be stored locally.
Depending on your needs, you can track your creates/updates in a separate collection, and then patch the updates when the connection is sufficient. If the data only needs to be read-only, then this would suffice.
There is a Connection function which can help drive other behavior/functions if the device happens to be offline.
Hi @Anonymous ,
Connection.Connected is the test PowerApps uses to determine whether it is connected to its data source/s. Here is a video from Daniel Christian on the subject.
I have a similar issue with users in the field, at times in remote locations. Before we get into the total offline scenario, there are some things you can do to lower the time burden on users. The most important one I found is collections. I collect pretty much all gallery content and a lot of drop-down item lists. The searches in the galleries are quicker by multiples when mobile as are the responses the things like searching a large combo box list. There is also the Concurrent function that allows quick loading and if done at App OnStart, you only have the one delay. Also try to minimise the amount of controls on one screen.
Now to offline. This is a subject in itself and I won’t try to cover it here, but data can be stored on the device, even after PowerApps is closed with the SaveData and LoadData functions - here is some information on it.
I am happy to answer anything further if you decide to take this journey.
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.
In most occasions, slowness will be perceived by the amount of time an action takes to return control to the user. You could try and use the concurrent function wherever possible to speed loading times. I recently posted a video that covers its usage in more detail -
Thanks @ChinoDoesStuff for the confirmation.
You do great videos as well and I would encourage users to follow your channel - I have watched most of yours.
Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.
Your chance to join an engaging competition of Power Platform enthusiasts.
The Super User program for 2022 - Season 2 has kicked off!
Attend in person or online, there are incredible conferences and events happening all throughout the month of September.