cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Advocate III
Advocate III

PowerApps Custom SharePoint Form Loading Different Items Data

I have a custom form created in powerapps and I followed the following steps at the following link: https://powerapps.microsoft.com/en-us/blog/separate-custom-forms/

So I have three screens: CreateScreen, EditScreen, NewScreen

 

I recently noticed that when I have an item selected say "Test Copy" meaning I have the row highlighted in my sharepoint list. And then I open a new item in the list called "Test" and click edit all it pull up some of the data from the "Test Copy" item and not the information in the columns for "Test"

 

Has anyone experienced this? What is the fix so that it always has the correct information in the fields for the item I select for edit all even if another item in the list is clicked on.

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Support
Community Support

Re: PowerApps Custom SharePoint Form Loading Different Items Data

Hi @PAB,

Could you please share a bit more about your issue?

The user @DavJaq has faced same issue with you, please check my response within the following thread:

https://powerusers.microsoft.com/t5/General-Discussion/SharePoint-list-using-customized-form-Edit-sc...

 

On your side, please take a try with the following workaround:

Set the OnView property of the SharePointIntegration control to following:

Refresh('YourSPList');  /* <-- Add this formula */
Set(SharePointFormMode, "ShowForm");
ViewForm(ShowItemForm);
Navigate(ShowScreen, ScreenTransition.None)

Set the OnNew property of the SharePointIntegration control to following:

Refresh('YourSPList');  /* <-- Add this formula */
Set(SharePointFormMode, "CreateForm");
NewForm(CreateItemForm);
Navigate(CreateScreen, ScreenTransition.None)

Set the OnEdit property of the SharePointIntegration control to following:

Refresh('YourSPList');   /* <-- Add this formula */
Set(SharePointFormMode, "EditForm");
EditForm(EditItemForm);
Navigate(EditScreen, ScreenTransition.None)

please take a try with above solution I provided, then re-publish your custom form, then check if the issue is solved.

 

Best regards,

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
Highlighted
Community Support
Community Support

Re: PowerApps Custom SharePoint Form Loading Different Items Data

Hi @PAB,

Could you please share a bit more about your issue?

The user @DavJaq has faced same issue with you, please check my response within the following thread:

https://powerusers.microsoft.com/t5/General-Discussion/SharePoint-list-using-customized-form-Edit-sc...

 

On your side, please take a try with the following workaround:

Set the OnView property of the SharePointIntegration control to following:

Refresh('YourSPList');  /* <-- Add this formula */
Set(SharePointFormMode, "ShowForm");
ViewForm(ShowItemForm);
Navigate(ShowScreen, ScreenTransition.None)

Set the OnNew property of the SharePointIntegration control to following:

Refresh('YourSPList');  /* <-- Add this formula */
Set(SharePointFormMode, "CreateForm");
NewForm(CreateItemForm);
Navigate(CreateScreen, ScreenTransition.None)

Set the OnEdit property of the SharePointIntegration control to following:

Refresh('YourSPList');   /* <-- Add this formula */
Set(SharePointFormMode, "EditForm");
EditForm(EditItemForm);
Navigate(EditScreen, ScreenTransition.None)

please take a try with above solution I provided, then re-publish your custom form, then check if the issue is solved.

 

Best regards,

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Highlighted
Advocate III
Advocate III

Re: PowerApps Custom SharePoint Form Loading Different Items Data

This seems to have solved my issue. I will continue to monitor and see if it continues to operate correctly.

Thank you for your solution @v-xida-msft

Helpful resources

Announcements
secondImage

Demo-Extravaganza 2020

Check out these cool Power Apps & vote on your favorite!

secondImage

Community Highlights

Check out whats happening in Power Apps

secondImage

Community User Group Member Badges

FIll out a quick form to claim your community user group member badge today!

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (10,272)