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.

View solution in original post

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.

View solution in original post

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
thirdimage

Power Apps Super User Class of 2020

Check it out!

thirdimage

New Badges

Check it out!

thirdimage

Power Apps Community User Group Member Badge

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

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

SecondImage

Difinity Conference

The largest Power BI, Power Platform, and Data conference in New Zealand

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