web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Data lost from screen ...
Power Apps
Unanswered

Data lost from screen when internet fluctuates

(0) ShareShare
ReportReport
Posted on by 40

I have an app in which is loading a fair amount of data, and user inputs data into screens but sometimes app is not working when internet is coming in 10 sec going in 10 second so user feels like connecting the app and reconnecting the app. even the data are lost whatever they added so they are unable to work in such scenario.

 

I am already storing data offline but when User submit input then only data will be saved or else entered data lost when internet fluctuates.

Categories:
I have the same question (0)
  • Pstork1 Profile Picture
    69,601 Most Valuable Professional on at

    When you say your are storing data offline I assume you mean LoadData and SaveData functionality.  But I suspect you are following the standard article on building an Offline app that uses a time to determine whether the App is online or not. I suspect that in your case the Internet fluctuates too much for that to be a viable option.  Instead I would modify your app to always run in Offline mode and then simply put something in the submit button that checks if the app is online and submits changes if it is and then goes back to Offline.  That way the data will always be stored in the collection and the collection will only be cleared if the app is online when you try to save.

  • sheetalbhatt Profile Picture
    40 on at

    Hi,

     

    Thanks for this suggestion, i have few questions on that:

    1. How to set app to always run in Offline mode?

    2. How to put something in the submit button that checks if the app is online and submits changes if it is and then goes back to Offline?

     

     

  • Pstork1 Profile Picture
    69,601 Most Valuable Professional on at

    1) The App is in Offline mode if everything you do runs against local collections instead of remote data sources.  The data sources load/refresh on demand IF a connection is available.  You can check the status of the connection using Connection.Connected, which will return true if the cloud is reachable.

    2) Use an If() statement that tests Connection.Connected and submits the changes to the Cloud if its true, but leaves them in the local collection if they aren't.

     

    Take a look at the following article.  It explains how to do an offline app.

    https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/offline-apps

  • sheetalbhatt Profile Picture
    40 on at

    Hi,

    we already implemented this what you have suggested. the issue is Internet gets fluctuate very often lets say after every 5 second and due to that user is unable to work on form. whenever app gets reconnected whatever data user has added he just lost them.

     

    how to manage such thing? is there any option where we can just set something so PowerApps itself wont try to connect internet again?

  • Pstork1 Profile Picture
    69,601 Most Valuable Professional on at

    If all the work is done on offline collections then it won't matter to the user whether the internet fluctuates or not.  But sooner or later they need to save their work back to the cloud.  At that point the data goes from the local collection to the cloud and the user isn't working directly on that data anymore.  But if the Internet is always as unreliable as you say then you won't be able to use PowerApps.  Building an App to work Offline is so that you can continue to use the app where the Internet is unreliable until you get to a place where it is reliable.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 335 Most Valuable Professional

#2
11manish Profile Picture

11manish 166

#3
sannavajjala87 Profile Picture

sannavajjala87 71 Super User 2026 Season 1

Last 30 days Overall leaderboard