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
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

365 EduCon 768x460.png

Microsoft 365 EduCon

Join us for two optional days of workshops and a 3-day conference, you can choose from over 130 sessions in multiple tracks and 25 workshops.

Users online (3,680)