cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
ReneAlvarezM
Frequent Visitor

SharePoint list form not updating edit mode

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?

1 ACCEPTED SOLUTION

Accepted Solutions
v-jefferni
Community Support
Community Support

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.

v-jefferni_0-1612431929337.png

 

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.

View solution in original post

2 REPLIES 2
v-jefferni
Community Support
Community Support

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.

v-jefferni_0-1612431929337.png

 

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.

Helpful resources

Announcements
PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.

Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

Top Solution Authors
Top Kudoed Authors
Users online (2,148)