Showing results for 
Search instead for 
Did you mean: 
Advocate I
Advocate I

Edit screen not displaying the right selected item

I've set up a PowerApps form as an integration with a SharePoint list and have 4 screens. 

  1. EditScreen - This is used as the NewForm and OnEdit properties (i.e. "NewForm(EditForm)" and "Navigate(EditScreen,ScreenTransition.None,{ID:ID_DataCard1.Default})")
  2. DetailScreen - This is used as the OnView property (i.e. "Navigate(DetailScreen,ScreenTransition.None,{ID:ID_DataCard1.Default})")
  3. ConfirmationScreen - This screen displays after an item has been successfully submitted into the list. 
  4. Gallery Screen - This screen is currently not being used but has been set up as a Gallery. 

All tests on the app work as expected, no problems. But if I go to the SharePoint list, right-click on an item and select Edit, it doesn't show me the item I had right-clicked. It shows me the very first item ever created on the list. I originally didn’t use a context in Navigate and the same thing was happening so I thought adding a context would fix this, but apparently not. 

I realise that using the gallery might be the best solution but I can't find any way to set this up as a view. And, I've tried logging out and back in but this doesn’t fix the issue. What am I missing? I appreciate any help/advice you can give. 

Community Support
Community Support

Re: Edit screen not displaying the right selected item

Hi @upstreampsadmin,

Could you please share a bit more about your scenario?

Do you custom a form for your SP list using PowerApps?

Could you please share more details about the ID_DataCard1 that you mentioned?

I have made a test on my side, and don't have the issue that you mentioned.

Based on the formula that you provided, I think there is something issue with it. I have made a test on my side, please take a try with the following workaround:

Set the Item property of the Edit form (SharePointForm1) to following:

If(IsBlank(SharePointIntegration.Selected) || IsEmpty(SharePointIntegration.Selected),First('20190126_case3'),SharePointIntegration.Selected)

Set the OnEdit property of SharePointIntegration control to following:


Set the OnNew property of SharePointIntegration control to following:


Set the OnView property of SharePointIntegration control to following:



In addition, please check and see if the following blog would help in your scenario:


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.
Advocate I
Advocate I

Re: Edit screen not displaying the right selected item

Hi @v-xida-msft


Your first two questions are answered in the very first sentence of my original post. 


Whenever a new item is created in a list, it is assigned an ID. I included it in the form as I thought I'd have to refer to it in the OnView and OnEdit properties - I've set its visibility to false so users can't see or change it. 


In the part of the if statement, with what do I reaplce the '20190126_case3') in the First statement?


Thank you, this is very helpful. 

Helpful resources

Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.


Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Tech Marathon

Maratón de Soluciones de Negocio Microsoft

Una semana de contenido con +100 sesiones educativas, consultorios, +10 workshops Premium, Hackaton, EXPO, Networking Hall y mucho más!

Top Solution Authors
Top Kudoed Authors
Users online (7,050)