Announcements
Hello,
I have designed an app which contains multiple screens with multiple fields(Such as age,address and other user related info) that a user must fill. This app works in offline mode, where the user fills the data and saves the data into a collection. So if I connect to the internet the data must automatically patch to a SharePoint list. Is this scenario possible considering that I have around 10 screens and I might be at any screen at any time and I must not know that the data is being patched to the list. Thanks in advance for your suggestions.
Thanks,
TD
Yes, its possible.Refer this code:
If(Connection.Connected, ForAll(Collection, Patch(DataSource, columnname1:collectionColumn1, columnname2:collectionColumn2 ) ) )
Feel free to ping me, if your issue not solved.
Thanks for your response, I have tried this but I faced an issue where I want it to work irrespective of which screen I am in so does it mean that I need to have the code in every screen.
If you want to save your all screens record in one record.Then do one thing Patch as soon as Internet Connect and Set a variable so that you know whether it patched or not.Then Collect that patched record ID and then update record based on that ID.If this not your exact query then explain please.
Thanks your suggestion helped me, I'll mark your reply as the solution
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.
Congratulations to our community stars!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
WarrenBelz 392 Most Valuable Professional
11manish 136 Super User 2026 Season 2
MS.Ragavendar 109 Super User 2026 Season 2