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 / Can't Make App Work Of...
Power Apps
Unanswered

Can't Make App Work Offline (Zipfile attached)

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hello,

 

I am currently having issues making my app offline compatible. I cant seem to get the app to save to a local collection when offline, then push to my common data source (SP) when online. 

 

The functionality of my offline code consits of a timer that checks for connection with an if statment as well as a upload to load any locally stored data that was saved offline (both on homescreen) 

 

My new form screen has the two forms i would like to be able to save offline. I have placed the code which I believe would save the code offline, but I have yet to make it work. The code is in the "Save and Submit" button. 

 

I have attached a zip for my app below so you can view it and possibly figure out why my app isnt working. I have been working a while to figure out why my code does not work and have yet to fingure out why. Any help at all would be greatly appriceated. 

 

Please let me know if you have any additional questions / comments.

 

Thanks,

Sam

Categories:
  • v-yuxima-msft Profile Picture
    Microsoft Employee on at

    Hi @Anonymous 

     

    Do you want to build one offline app?

    Could you please reference this?

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

    https://powerapps.microsoft.com/es-es/blog/build-offline-apps-with-new-powerapps-capabilities/

     

    Try to test the formula expression as this:

    If(Connection.Connected,
    ClearCollect(MySPCollection,'FAST Data');
    UpdateContext({statusText: "Online data"})
    ,
    LoadData(MySPCollection, "MySPCollection", true);
    UpdateContext({statusText: "Local data"})
    );
    SaveData(MySPCollection, "MySPCollection")

    Navigate(Home,ScreenTransition.Cover)

     

    Best Regards.

    Yumia

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi @Anonymous how are you progressing with this? Was the above reply helpful?

     

    @Anonymous 

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

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 224 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 189 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 126

Last 30 days Overall leaderboard