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

Sharepoint how do I refresh the list after saving?

I have a list and a powerapps form connected to it.

When I hit Save, it saves the data into the list on the server, but after that I have to hit cancel to close the form, and manually refresh the screen to get my changes to show up.

 

How do I

1) Ideally, I'd like save to also close the screen.

2) How do I get the data on the sharepoint list to refresh on the screen.

 

Thanks,

Ralph

 

1 ACCEPTED SOLUTION

Accepted Solutions
ralphtrickey
Level: Powered On

Re: Sharepoint how do I refresh the list after saving?

It looks like a borked the OnSuccess event somehow, once I fixed it it started working again.

View solution in original post

8 REPLIES 8
Community Support Team
Community Support Team

Re: Sharepoint how do I refresh the list after saving?

Hi @ralphtrickey,

 

Could you please share a bit more about your scenario?

Could you please share screenshot of your app's configuration?

Further, do you custom a SP list form using PowerApps on your side?

 

I have made a test on my side (custom a SP list form using PowerApps) and don't have the issue that you mentioned. The screenshot as below:Test1.gif

 

 

You could consider take a try to custom a SP list form using PowerApps on your side, when you click the "Save" button, the SP list would be refreshed automatically.

 

More details about custom a SP list form using PowerApps, please check the following article:

Custom a SP list form using PowerApps

 

 

Best regards,

Kris

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.
ralphtrickey
Level: Powered On

Re: Sharepoint how do I refresh the list after saving?

These are the settings.

 

Capture.PNG

 

I created a list, then created a PowerApps form to go with it.

 

I have this in the onVisible event of the screen. I have Onvisible set to isAdmin i on a couple of fields.

Set(isAdmin, CountIf(Finance, Person.DisplayName = User().FullName) = 1
Or VpPrimary.Selected.DisplayName = User().FullName
Or VpSecondary.Selected.DisplayName = User().FullName
)

 

When I hit save, nothing changes, the form stays open.

 

I do have an approval workflow set up, would that keep the new values from showing.

 

Any ideas on why the form doesn't close when I hit save?

 

Thanks,

Ralph

  

ralphtrickey
Level: Powered On

Re: Sharepoint how do I refresh the list after saving?

Removing the workflow made no difference.

ralphtrickey
Level: Powered On

Re: Sharepoint how do I refresh the list after saving?

It looks like a borked the OnSuccess event somehow, once I fixed it it started working again.

View solution in original post

RomanKorchak
Level: Powered On

Re: Sharepoint how do I refresh the list after saving?

What did you change in OnSuccess ?

Thanks

ralphtrickey
Level: Powered On

Re: Sharepoint how do I refresh the list after saving?

Sorry, I'm pretty sure I deleted it and started over. I'm not sure what I specifically got wrong.

NigelP
Level 8

Re: Sharepoint how do I refresh the list after saving?

Hi @RomanKorchak

 

You should also check the OnFailure event as well in case something went wrong with the save.  Even a simple Notify("Save Failed") would at least let you know if the Save had failed.

 

Regards

 

Nigel

Highlighted
kaze
Level: Powered On

Re: Sharepoint how do I refresh the list after saving?

Hi. Could you elaborate a bit more on this for me? OnSuccess! Please and Thank you 😄


@ralphtrickey wrote:

It looks like a borked the OnSuccess event somehow, once I fixed it it started working again.


 

Helpful resources

Announcements
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 Kudoed Authors (Last 30 Days)
Users online (3,863)