cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
PAB
Level: Powered On

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
Community Support Team
Community Support Team

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.
2 REPLIES 2
Community Support Team
Community Support Team

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.
PAB
Level: Powered On

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
firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

SecondImage

PowerApps Monthly Community Call

Next Wednesday, September 18th at 8am PDT

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

SecondImage

Power Platform Summit North America

Register by September 5 to save $200

Top Kudoed Authors
Users Online
Currently online: 280 members 4,672 guests
Please welcome our newest community members: