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

Offline Application issues to import data saved in collection to Excel

Hello,

 

I created an application to help workers for testing their equipements on site. I need to have an offline application because workers don't have internet on site. I created this application with an Excel sheet on OneDrive Business. When it's connected to internet, there are no problem. I used this formula : 

If(Connection.Connected;Concurrent(SubmitForm(EditForm1);ResetForm(EditForm1);Clear(TempCollection1));Collect(TempCollection1;{Tenant:TenantB.Text;Aboutissant:AboutissantB.Text;Libellé:LibelleB.Text;Interconnexion_des_masses:InterconnexBouton.Selected.Value;Conforme_de_pose:ConformposeBouton.Selected.Value;Fixation_cable:Fixationcable.Selected.Value;Serrage:Serrageconnexions.Selected.Value;Etiquetage:Etiquettage.Selected.Value});;SaveData(TempCollection1;"temporary");;ResetForm(EditForm1))

 

And I find the modifications directly on Excel sheet.

 

When it's offline, I have a problem. The data save in a PowerApps collection but I want when it becomes online that my data saved in collection import to my Excel sheet. I try to write a formula but it doesn't work : 

If(Connection.Connected; ForAll(TempCollection1;Patch(PointsdeControlesBT;Defaults(PointsdeControlesBT);{Conformite:ColConforme_de_pose}));None);;Clear(TempCollection1)

 

If you know how I can import my data saved in collection to Excel sheet (OneDrive Business) when it becomes online.

Thanks in advance for answering to my problem. It will be great if I could create this application for the workers. 

0 REPLIES 0

Helpful resources

Announcements
PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.

Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

Top Solution Authors
Top Kudoed Authors
Users online (1,609)