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

Have form auto save

Hello,

 

My form will be mainly used offline and i want to ensure my users can properly save their work so they can submit it online. 

 

How can i implement an autosave on PowerApps whenever there are changes  that can display a "last saved 00:00:00"

 

the form writes back to SP through a data source 

 

Please let me know if you have any questions

1 ACCEPTED SOLUTION

Accepted Solutions
Super User
Super User

Re: Have form auto save

Add a timer control on the app, set it for the save interval you want and then have it execute the same logic as your save button does when the timer expires.



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.
3 REPLIES 3
Super User
Super User

Re: Have form auto save

Add a timer control on the app, set it for the save interval you want and then have it execute the same logic as your save button does when the timer expires.



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.
v-yutliu-msft
Level 10

Re: Have form auto save

Hi @bubs ,

Do you want to load data that entered offline?

I suggest you use the funtion of savedata and loaddata.

When user is offline, they use SaveData( Collection, Name ) to save the data they have entered.

When user is online, they use LoadData( Collection, Name [, IgnoreNonexistentFile ]) to load the data that they saved before.

Here's doc about it for your reference:

https://powerapps.microsoft.com/en-us/blog/savedata-and-loaddata-unleashed/

https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/functions/function-savedata-loaddata

 

Best regards,

Community Support Team _ Phoebe Liu

svijay_001
Level: Powered On

Re: Have form auto save

Alternatively, you can have a  perform patch or save option on the control OnChange event. 

 

Everytime somebody goes ahead and types the items gets saved/updated.