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

Is there any way to make the meeting capture offline capable?

My problem is, if I use this app and I want to export at the end but there is no connection, all my data gets lost.

 

I edited the ExportConfirm Button that it saves all collections if there is no connection.

Also I changed the onStart of the WelcomeScreen that it checks if there are any saved collections.

If there are, it navigates to the ExportScreen so that the data export can be tried again.

But there isn't any data.
Is there any way to save all that what I have seleceted and edited? 

1 ACCEPTED SOLUTION

Accepted Solutions
Leander
Frequent Visitor

Re: Is there any way to make the meeting capture offline capable?

Thank you samuelJ, but that didn't work either. 

 

I have solved it now on a different way.

 

At the ExportScreen the App checks now if the user is connected or not.

If there is no connection the User is only allowed to click a save button. The selected meeting gets saved in a new collection, which is only yused for saving offline. Also the pictures, skatches, tasks and the personal notes are saved. All these collections are then stored into the device storage.

 

Also I have dublicated the WelcomeScreen for showing the unsuccessful export.

 

So if the User have saved the meeting the app will navigate to the screen with the unsuccessful exported meeting.

Now the User can try directly again or PowerApps can get closed for trying läter with connection.

When the App then gets started again the onStart loads the Data of that collection where definitely has to be some value if the User have had to save at the last session. 

If there isn't any data the app starts normal.

If there is some data, the gallery of meetings gets disabled and a usually unvisible and disabled button gets visible and selectable. This button navigates then to the screen with the unsuccessful exported meeting.

 

I was also trying to save more then one meeting but I had problems with the saving of pictures and sketches.

For one Meeting I was able to save all pictures and Sketches but when there gets a other meeting saved with pictures the old ones are overwritten.

 

View solution in original post

6 REPLIES 6
Highlighted
alsabea Advocate III
Advocate III

Re: Is there any way to make the meeting capture offline capable?

have you used savedata loaddata?

Leander
Frequent Visitor

Re: Is there any way to make the meeting capture offline capable?

Yes, I save all collections on the ExportConfirm Button with save data and load it at onStart.

alsabea Advocate III
Advocate III

Re: Is there any way to make the meeting capture offline capable?

could you try to make the app use the save date only,remove the connection.connected condition,so we can make sure you device are able to save and load the data,if it successded,than the problem in you code,your condition not working probably ,i think:)

Leander
Frequent Visitor

Re: Is there any way to make the meeting capture offline capable?

I have tryed already. I've made an other app were I tested if my device is able to save collections.

There it works. 

I think the problem is that Powerapps isn't saving which chart I have selected in my collection.

samuelJ Responsive Resident
Responsive Resident

Re: Is there any way to make the meeting capture offline capable?

You can use SaveData() and LoadData().  It will save locally on your phone.  Here is a link: SaveData() LoadData().

 

On an app Start or somewhere, you can check Connection.connected(), use LoadData() to populate a collection, then Patch() that data.  You would then need to use the Clear() function to clear the data you Patched.  

 

I have not been able to get SaveData() to work with picture, just FYI.  So if you are trying to save a file or something, I don't believe that capabllity exists.  

Leander
Frequent Visitor

Re: Is there any way to make the meeting capture offline capable?

Thank you samuelJ, but that didn't work either. 

 

I have solved it now on a different way.

 

At the ExportScreen the App checks now if the user is connected or not.

If there is no connection the User is only allowed to click a save button. The selected meeting gets saved in a new collection, which is only yused for saving offline. Also the pictures, skatches, tasks and the personal notes are saved. All these collections are then stored into the device storage.

 

Also I have dublicated the WelcomeScreen for showing the unsuccessful export.

 

So if the User have saved the meeting the app will navigate to the screen with the unsuccessful exported meeting.

Now the User can try directly again or PowerApps can get closed for trying läter with connection.

When the App then gets started again the onStart loads the Data of that collection where definitely has to be some value if the User have had to save at the last session. 

If there isn't any data the app starts normal.

If there is some data, the gallery of meetings gets disabled and a usually unvisible and disabled button gets visible and selectable. This button navigates then to the screen with the unsuccessful exported meeting.

 

I was also trying to save more then one meeting but I had problems with the saving of pictures and sketches.

For one Meeting I was able to save all pictures and Sketches but when there gets a other meeting saved with pictures the old ones are overwritten.

 

View solution in original post

Helpful resources

Announcements
MBAS Gallery 2020

MBAS Gallery 2020

Watch Microsoft Business Applications Summit sessions on-demand.

firstImage

New Ranks and Rank Icons released on April 21!

The time has come: We are finally able to share more details on the brand-new ranks coming to the Power Apps Community!

Top Solution Authors
Top Kudoed Authors
Users online (9,508)