When developing PowerApps for SharePoint lists, I've experienced multiple times that you need to refresh the page or even clean-up the browser cache to get the latest version but now I'm seeing a very strange error.
I added a new choice field (dropdown) and added it to the form. It shows up the field in view (read-only mode) but when in edit mode, the form shows the previous version.
I know it's not the actual SharePoint form since I added a label outside the form to only show the version number (fixed label). That label shows up when in view mode but disappears in edit mode.
Any idea or fix for this issue?
Solved! Go to Solution.
Hi @ReneAlvarezM ,
Could you please share more details about your app embedded in SP list? Have you created separate screens and forms in power apps based on different modes?
Please refer to below blog:
https://powerapps.microsoft.com/es-es/blog/separate-custom-forms/
So you could build separate forms for create, view or edit items in SP list.
SharePointIntegration:
OnNew – Set(SharePointFormMode, "CreateForm"); NewForm(CreateItemForm); Navigate(CreateScreen, ScreenTransition.None)
OnEdit – Set(SharePointFormMode, "EditForm"); EditForm(EditItemForm); Navigate(EditScreen, ScreenTransition.None)
OnView – Set(SharePointFormMode, "ShowForm"); ViewForm(ShowItemForm); Navigate(ShowScreen, ScreenTransition.None)
While separate forms built and set Navigate in OnView/OnEdit/OnNew of the SharePointIntegration, you will need to modify all forms so that they would all change in SP list.
Hope this helps.
Best regards,
Community Support Team _ Jeffer Ni
If this post helps, then please consider Accept it as the solution to help the other members find it.
Community Support Team _ Jeffer Ni
If this post helps, then please consider Accept it as the solution to help the other members find it.
Hi @ReneAlvarezM ,
Could you please share more details about your app embedded in SP list? Have you created separate screens and forms in power apps based on different modes?
Please refer to below blog:
https://powerapps.microsoft.com/es-es/blog/separate-custom-forms/
So you could build separate forms for create, view or edit items in SP list.
SharePointIntegration:
OnNew – Set(SharePointFormMode, "CreateForm"); NewForm(CreateItemForm); Navigate(CreateScreen, ScreenTransition.None)
OnEdit – Set(SharePointFormMode, "EditForm"); EditForm(EditItemForm); Navigate(EditScreen, ScreenTransition.None)
OnView – Set(SharePointFormMode, "ShowForm"); ViewForm(ShowItemForm); Navigate(ShowScreen, ScreenTransition.None)
While separate forms built and set Navigate in OnView/OnEdit/OnNew of the SharePointIntegration, you will need to modify all forms so that they would all change in SP list.
Hope this helps.
Best regards,
Community Support Team _ Jeffer Ni
If this post helps, then please consider Accept it as the solution to help the other members find it.
Community Support Team _ Jeffer Ni
If this post helps, then please consider Accept it as the solution to help the other members find it.
Turns out that I created an Edit form and I completely forgot about it when n updating in a hurry.
Thanks a lot for your help.
This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.
Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.
User | Count |
---|---|
255 | |
122 | |
85 | |
75 | |
72 |