Hello,
When I try to edit data that's already on my sharepoint list when I click "edit" the power app opens but no data is populated. I don't want to input everything again on the form.
Please help
Check the item property on the SharePoint form. It should be set to this:
If(IsBlank(SharePointIntegration.Selected) || IsEmpty(SharePointIntegration.Selected),First('ListName'),SharePointIntegration.Selected)
If that doesn't work try changing the .Selected to .SelectedItemId
@Pstork1 When I want to add new data to the sharepoint list I click on New and a blank power app opens up.... so I add all the data into the fields. This is correct.
When I want to edit data that has already been submitted to the list and I click on the circle on the left and then edit... the power app form opens up but it opens up blank.
I dont want to input all the data again...
is there a way I can get the data thats already on the list on the form and edit the data on the power app form... I dont want to add everything all over again.
Below you'll find the picture where it shows that when I click Edit, the power app opens up but blank not with all the data
When you customize the form in a SharePoint list you will automatically get a New, View, and Edit form. If they add something via the New link on the toolbar they will get the form with the default mode set to New. If they edit an existing Item they will get the form with the default set to Edit. Can you explain a bit more what you are trying to do?
@v-yuxima-msft Yes I do create a customize form. Your IF statement works only if the form deafult mode is set to "edit" but I want it to be set to new.
Every time someone adds something I want a new form but when they need to edit a row already in the list I want the form to display the values.
Hi @Anonymous
Is it one cusomize form?
Do you create cutomize form as this?
Best Regards.
Yumia
Hi @Anonymous
Could you please check whether the Item is as next screenshot shows in your customized form?
SharePointForm1.Item=If(IsBlank(SharePointIntegration.Selected)||IsEmpty(SharePointIntegration.Selected),First('2019test'),SharePointIntegration.Selected)
(2019test is the SP list name on myside, please change to yours on your side)
Best Regards.
Yumia
When you are editing the form in PowerApps what is the Items property of the form? Is this a standalone PowerApp or a sharepoint integrated form?
WarrenBelz
637
Most Valuable Professional
stampcoin
570
Super User 2025 Season 2
Power Apps 1919
473