cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
vsslasd
Level 8

At what point Is it necessary to perform a Refresh(dbo) for SQL Server views or tables?

At what point Is it necessary to perform a Refresh(dbo) for SQL Server views or tables?

Does PowerApps ever do a background refresh periodically?

Does PowerApps do a Refresh(dbo) on App OnStart ?

 

Trying to understand at what point, when and how frequent a Refresh(dbo) needs to be put in code.

 

Thank you,

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: At what point Is it necessary to perform a Refresh(dbo) for SQL Server views or tables?

Hi @vsslasd,

 

For SQL Server Views, you will need to take use of the Refresh() function, for example:

Refresh('[dbo].[SQLView]')

For the SQL Table, if you would like to see the update changes, then you will also need a refresh.

 

A query for the data source would be sent when the App is first loading, you may take a look at the following blog for the details:

Performance consideration in PowerApps

Basically, any changes/Request made to the data source directly would trigger a refresh of the data source.

There is no background refresh for PowerApps, based on what I know.

 

Regards,

Michael

Community Support Team _ Michael Shao
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

1 REPLY 1
Community Support Team
Community Support Team

Re: At what point Is it necessary to perform a Refresh(dbo) for SQL Server views or tables?

Hi @vsslasd,

 

For SQL Server Views, you will need to take use of the Refresh() function, for example:

Refresh('[dbo].[SQLView]')

For the SQL Table, if you would like to see the update changes, then you will also need a refresh.

 

A query for the data source would be sent when the App is first loading, you may take a look at the following blog for the details:

Performance consideration in PowerApps

Basically, any changes/Request made to the data source directly would trigger a refresh of the data source.

There is no background refresh for PowerApps, based on what I know.

 

Regards,

Michael

Community Support Team _ Michael Shao
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
firstImage

Microsoft Business Applications Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

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

Top Kudoed Authors
Users Online
Currently online: 105 members 3,327 guests
Please welcome our newest community members: