cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Frequent Visitor

Offline apps that uses a form

I created an app that inputs users data using one form to an excel file. How can I make this file work so that I have save the data to a local cache on an IPad and then load the data to that excel file when I regain wifi. I have done hours of research and I still don't know how to do it. Please help.

2 REPLIES 2
Community Support
Community Support

Hi @scarlson,

 

Offline feature is still under developing.

The Twitter example should be considered as a little step.

Build offline apps with new PowerApps capabilities

 

Could you please share more details about where is your excel file stored? Is it from OneDrive or OneDrive for Business .etc or local excel file? 

 

Use a formula similar to below one. This formula checks if we are online, if we are it will tweet the text immediately. If we are not, it will capture the tweet in a “LocalTweetsToPost” collection and save it to the device. Then it resets the text in the text box.

 

If (Connection.Connected,
      Twitter.Tweet("", {tweetText: NewTweetTextBox.Text}),
      Collect(LocalTweetsToPost, {tweetText: NewTweetTextBox.Text});
      SaveData(LocalTweetsToPost, "LocalTweetsToPost")
  );	
  UpdateContext({resetNewTweet: true});
  UpdateContext({resetNewTweet: false})

 

 

Regards,

Mona

Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

My excel file is stored on my OneDrive for business. 

 

In the OnSelect function of my submit button I have 

 

If(Connection.Connected, SubmitForm(Form1), Collect(LocalFormsToSubmit, Table1_2); SaveData(LocalFormsToSubmit, "LocalForms"))

 

Form1 is the form I made on the app, Table1_2 is the table I am connecting my form to through an excel file located in OneDrive for Business. I am not positive what the LocalFormsToSubmit or "LocalForms" are - I was trying to fill in my information through another example. My form works perfectly online, it just can't find Table1_2 when offline. I don't know what to do. Please help and ask any more questions!

Helpful resources

Announcements
News & Announcements

Community Blog

Stay up tp date on the latest blogs and activities in the community News & Announcements.

Power Apps Community Call

Power Apps Community Call- January

Mark your calendars and join us for the next Power Apps Community Call on January 20th, 8a PST

PP Bootcamp Carousel

Global Power Platform Bootcamp

Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.

secondImage

Power Platform Community Conference On Demand

Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!

Top Solution Authors
Top Kudoed Authors
Users online (3,364)