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
Solved! Go to Solution.
It looks like a borked the OnSuccess event somehow, once I fixed it it started working again.
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:
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
These are the settings.
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.
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.
User | Count |
---|---|
124 | |
87 | |
87 | |
75 | |
69 |
User | Count |
---|---|
215 | |
181 | |
140 | |
97 | |
83 |