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

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
Community Support Team
Community Support Team

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
SKH19
Level 10

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."

Community Support Team
Community Support Team

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
thirdimage

Power Apps Super User Class of 2020

Check it out!

thirdimage

New Badges

Check it out!

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
Users online (4,652)