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
Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Difinity Conference 2022

Difinity Conference 2022

Register today for two amazing days of learning, featuring intensive learning sessions across multiple tracks, led by engaging and dynamic experts.

European SharePoint Conference

European SharePoint Conference

The European SharePoint Conference returns live and in-person November 28-December 1 with 4 Microsoft Keynotes, 9 Tutorials, and 120 Sessions.

Power Apps Ideas

Changes to Ideas Coming

We are excited to announce a new way to share your ideas for Power Apps!

Top Solution Authors
Top Kudoed Authors
Users online (4,654)