cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
New Member

offline one drive excel does not work

Surprisingly we only have one offline twitter example available online.

 

I would like to develop an app to allow field users to reference a sharepoint excel file that is updated requently.

 

in the app , I created two datasource , one for the table in the excel file , one for a collection updated from the excel file when online. I have a tabledata control linked to the collection to show data to users.

 

when connected online,  invision func, I copy the table from excel datasource to the collection , and then save the collection to a local file, when not connected it will loaddata from the local file to the collection. 

 

I run the app without problems when online.  after I run the app online successfully, I close the app and then turn the mobile into airplain mode, and then start the app. then app report an error stating excel table data source if not available and failed to connect, which is understandable. it is suppose to load the local file to the collection and continue to run. however, it failed to get the data in the tabledata control.

 

any ideas?

 

thanks.

2 REPLIES 2
Highlighted
Community Support
Community Support

Re: offline one drive excel does not work

Hi @PoweruserBris,

 

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 the App you created, specially for the Load data source code?

Similar to the following part(Onvisible property of the first screen):

 

 If(Connection.Connected,
      ClearCollect(LocalTweets, Twitter.SearchTweet("PowerApps", {maxResults: 100}));
      UpdateContext({statusText: "Online data"});
SaveData(LocalTweets, "Tweets") , LoadData(LocalTweets, "Tweets", true); UpdateContext({statusText: "Local data"}) )

Are there any error messages when it failed to load the data?

Besides, if you have configured the formula with the OnVisible property of the first screen, then please take a try to naviagte to another screen and then back to the first screen to check.

See if that would help.

 

Regards,

Michael

 

Community Support Team _ Michael Shao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Highlighted
New Member

Re: offline one drive excel does not work

Thanks, I got it working, I used the wrong function! however , I need to update some records back to the source dataset. I downloaded the dataset and updated some of , which is saved in a local collection/file, and need to patch the records back to the orignial data source, I know patch can batch update table records, but failed to do so. my table have mulitple fields as table primary key. tried Patch(sourcedata,localupdedrecordstable) but did not work.

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Watch Now

Experience what’s next for Power Apps

See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (5,975)