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?
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.
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.
Fill out a quick form to claim your user group badge now!
Find out where you can attend!
Features releasing from October 2019 through March 2020
Learn how to build the business apps that you need.