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

Schedule refresh database data

Hi to all, can someone tell  if it's possible in powerapps do schedule job for refreshing database every 10 minutes or something else. I have more than 10 table and i need fresh data. 

2 ACCEPTED SOLUTIONS

Accepted Solutions
Super User
Super User

Re: Schedule refresh database data

Have you looked at the Timer control?  That would be your best option for doing timed anything - in this case a refresh on a datasource.

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up. Solved your problem? - Click on Accept as Solution. Others seeking the same answers will be happy you did.

View solution in original post

Community Support Team
Community Support Team

Re: Schedule refresh database data

Hi @dgrubesi,

Do you want to refresh your data source in a specific schedule?

Based on the needs that you mentioned, I think the Timer control could achieve your needs.

I have made a test on my side, please take a try with the following workaround:

Add a Timer control within your app, set the Duration property to following:

60000*10

Set the AutoStart property and Repeat property to following:

true

Set the OnTimerEnd property to following:

Refresh(YourTable1);
Refresh(YourTable2);
Refresh(YourTable3);
...
Refresh(YourTable10);

Note: The YourTable1, YourTable2, ...., YourtTable10 represents the data source within your app

Set the Visible property of the Timer control to following:

false

 

Best regards,

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
Super User
Super User

Re: Schedule refresh database data

Have you looked at the Timer control?  That would be your best option for doing timed anything - in this case a refresh on a datasource.

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up. Solved your problem? - Click on Accept as Solution. Others seeking the same answers will be happy you did.

View solution in original post

Community Support Team
Community Support Team

Re: Schedule refresh database data

Hi @dgrubesi,

Do you want to refresh your data source in a specific schedule?

Based on the needs that you mentioned, I think the Timer control could achieve your needs.

I have made a test on my side, please take a try with the following workaround:

Add a Timer control within your app, set the Duration property to following:

60000*10

Set the AutoStart property and Repeat property to following:

true

Set the OnTimerEnd property to following:

Refresh(YourTable1);
Refresh(YourTable2);
Refresh(YourTable3);
...
Refresh(YourTable10);

Note: The YourTable1, YourTable2, ...., YourtTable10 represents the data source within your app

Set the Visible property of the Timer control to following:

false

 

Best regards,

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Helpful resources

Announcements
thirdimage

Power Apps 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

SecondImage

Difinity Conference

The largest Power BI, Power Platform, and Data conference in New Zealand

Top Solution Authors
Top Kudoed Authors (Last 30 Days)
Users online (5,273)