cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
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
Highlighted
Community Support
Community Support

Re: Offline apps that uses a form

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.
Highlighted
Frequent Visitor

Re: Offline apps that uses a form

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
August 2020 Community Challenge: Can You Solve These?

August 2020 Community Challenge: Can You Solve These?

We're excited to announce our first cross-community 'Can You Solve These?' challenge!

secondImage

Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.

secondImage

Super Users Coming in August

We are excited for the next Super User season.

secondImage

Community User Group Member Badges

FIll out a quick form to claim your community user group member badge today!

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (8,013)