cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
ralphtrickey
Helper I
Helper I

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

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
v-xida-msft
Community Support
Community Support

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.

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

  

Removing the workflow made no difference.

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

What did you change in OnSuccess ?

Thanks

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

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

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
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Community Call Conversations

Introducing the Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (3,199)