cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
PoweruserBris
Level: Powered On

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
Community Support Team
Community Support Team

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.
PoweruserBris
Level: Powered On

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
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

Top Kudoed Authors (Last 30 Days)
Users online (4,933)