cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Frequent Visitor

SP Integration- Edits not updated 'on save' unless web page is physically refreshed

Hello All,

 

The 'Save' button on my PowerApp includes a patch function (I have multiple forms on one page) and a refresh('nameofdatasource')

 

Patch('PCAR- Testing',If(Form1.Mode=FormMode.Edit,SharePointIntegration.Selected,Form1.Mode=FormMode.New,Defaults('PCAR- Testing')),Form1.Updates,Form2.Updates,Form3.Updates);Refresh('PCAR- Testing')

 

However, when edits are made and the save button is used, the edits are not shown with the new information in the SharePoint list unless I physically refresh the web page. (Using Edge)

 

Side note, I noticed when list items are deleted, they still show in the list until the page is refreshed again. It is something in my function that I am doing incorrectly or might this have to do with something in the SharePoint list settings?

 

Sincerely, A PowerApps Newbie

Thank you!

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Support
Community Support

Re: SP Integration- Edits not updated 'on save' unless web page is physically refreshed

Hi @ebraga ,

 

This is expected behavior. You could try to workaround this by setting additional launching of this list page like:

 

Patch('PCAR- Testing',If(Form1.Mode=FormMode.Edit,SharePointIntegration.Selected,Form1.Mode=FormMode.New,Defaults('PCAR- Testing')),Form1.Updates,Form2.Updates,Form3.Updates);Refresh('PCAR- Testing');Launch("xxxx")

 

xxxx is the URL of your list site.

 

Notice that Refresh function only refresh the data source inside PowerApps so that the data in this app is the newest version.

 

Regards,

Mona

 

 

Community Support Team _ Mona Li
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
Highlighted
Impactful Individual
Impactful Individual

Re: SP Integration- Edits not updated 'on save' unless web page is physically refreshed

Hi @ebraga 

I'm afraid this is a SharePoint issue, as SharePoint lists aren't live web pages that are auto-refreshing.

 

---
Please hit the "Accept as Solution" button if my post answered your question! If my post was helpful please consider giving it a "Thumbs Up."

Highlighted
Community Support
Community Support

Re: SP Integration- Edits not updated 'on save' unless web page is physically refreshed

Hi @ebraga ,

 

This is expected behavior. You could try to workaround this by setting additional launching of this list page like:

 

Patch('PCAR- Testing',If(Form1.Mode=FormMode.Edit,SharePointIntegration.Selected,Form1.Mode=FormMode.New,Defaults('PCAR- Testing')),Form1.Updates,Form2.Updates,Form3.Updates);Refresh('PCAR- Testing');Launch("xxxx")

 

xxxx is the URL of your list site.

 

Notice that Refresh function only refresh the data source inside PowerApps so that the data in this app is the newest version.

 

Regards,

Mona

 

 

Community Support Team _ Mona Li
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
Check this Out

Helpful information

Featuring samples like Return to the Workplace and Emergency Response Applications

August 2020 Community Challenge: Can You Solve These?

August 2020 Community Challenge: Can You Solve These?

We're excited to announce our first cross-community 'Can You Solve These?' challenge!

secondImage

Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.

secondImage

Super Users Coming in August

We are excited for the next Super User season.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (7,143)