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
thirdimage

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

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

Top Kudoed Authors (Last 30 Days)
Users online (4,844)