cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
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.
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.
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.
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.

Helpful resources

Announcements
firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

SecondImage

PowerApps Monthly Community Call

Next Wednesday, August 21st at 8am PDT

Top Community Contributors for July 2019

Top Community Contributors for July 2019

Let's thank our top community contributors

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

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

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

FifthImage

Dynamics 365 and Power Platform April 2019 Release notes

Features releasing from April 2019 through September 2019!

SixthImage

Power Summit Australia 2019

August 20-23rd 2019

Users Online
Currently online: 23 members 4,234 guests
Please welcome our newest community members: