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

Community site session details

Session Id : h6TpBIv8bNcSmFvLTUYWFZ
Power Apps - Power Apps Pro Dev & ISV
Unanswered

when I lose internet the application freezes

Like (0) ShareShare
ReportReport
Posted on 25 Jul 2019 07:28:47 by 4

We have implemented load data and save data to handle offline scenario. this will not work in some cases like. when you click on submit button at that time you can check if internet is there or not and based on internet connectivity you store data locally or online.

 

but what about this case: when you press submit button at that time internet is there and you start transferring the data and immediately internet goes down. here app gets freezeing how to deal with such case? how to handle such scenario?

 

Thank you,

Tejas

  • Hemant Gaur Profile Picture
    on 25 Jul 2019 at 19:30:45
    Re: when I lose internet the application freezes

    this is for valid if you are using the pro-dev PCF capabilities ie writing TypeScrupt/JavaScript code. 

     

    If thats not the case, it would help if you can attach a gif/screen shot so that I can repath the thread to appropriate place.

     

    Hemant 

  • tejaspatel1982 Profile Picture
    4 on 25 Jul 2019 at 09:32:26
    Re: when I lose internet the application freezes

    I am not sure you are talking about PowerApps? is so then do you have any sample for this?

  • Hemant Gaur Profile Picture
    on 25 Jul 2019 at 08:09:56
    Re: when I lose internet the application freezes

    Is it for PCF custom controls ? You need to handle the offline disconnections in code for example if you are using HttpClient add a try catch and handle exception. Also 3rd party libraries like offline.js can be used which can capture the AJAX request and replay in case of disconnecion. Transactional  behaviour of the data upload might also need validation on server. 

     

    Hemant 

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

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 791 Most Valuable Professional

#2
MS.Ragavendar Profile Picture

MS.Ragavendar 410 Super User 2025 Season 2

#3
mmbr1606 Profile Picture

mmbr1606 275 Super User 2025 Season 2