Hi,
Does anyone know how I can handle conflicts when the internet connection goes online and return to offline while submitting saved records from the cache?
I enter my records offline and save then in the cache.
Then when i have sone signal i try to send them and empty the cache.
However, it seems like some of mey records are send, but not all of them. and then the cache does not emty itself.
Any idea how to handle that situation?
Many thanks
Hi @blue_lotus ,
Please share the related formulas, like the one to save/send/empty the cache. Maybe some screenshots would be even better.
Regards,
Mona
UpdateContext({varload:true});
ForAll(offline_records,
Patch(l_data,Defaults(l_data),
{ date:c_date, topic:Text(c_topic), address:Text(c_address)} ) ) ;
SaveData(offline_records,"offline_records_local_storage");
LoadData(offline_records,"offline_records_local_storage");
UpdateContext({varload:false}); Navigate(home,ScreenTransition.None)
sorry I forgot something: that 's the formula:
UpdateContext({varload:true});
ForAll(offline_records,
Patch(l_data,Defaults(l_data), { date:c_date, topic:Text(c_topic), address:Text(c_address)} ) ) ;
Clear(offline_records);
SaveData(offline_records,"offline_records_local_storage");
LoadData(offline_records,"offline_records_local_storage"); UpdateContext({varload:false});
Navigate(home,ScreenTransition.None)
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
Power Platform release plan for the 2022 release wave 2 describes all new features releasing from October 2022 through March 2023.
User | Count |
---|---|
206 | |
97 | |
60 | |
51 | |
45 |
User | Count |
---|---|
257 | |
158 | |
85 | |
79 | |
58 |