web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Not able to edit the e...
Power Apps
Unanswered

Not able to edit the existing SharePoint record with PowerApps

(0) ShareShare
ReportReport
Posted on by 122

Hey,

I copied the canvas form from one SharePoint list to another. For each item, I updated the data source. Using PowerApps, I was able to create a record that I could store in sharepoint into the new list. Now as I attempt to edit the recorded information it opens the blank form. The information that is already entered for the record is not displayed. What might the cause of this be? 

 

Thanks 

Categories:
  • Gochix Profile Picture
    1,937 Moderator on at

    @hiti ,

    The question is what is your Form's Items property?
    You have to set the Items property so the form retrieves the data from the Collection/List. + you have to set the defaultmode to Edit instead of New.

    ____________________________________________________________________________________
    Please give a thumbs up if I resolved your issue! Please click Accept as Solution to close the topic!

  • hiti Profile Picture
    122 on at

    I have added this to the form's item property "If(IsBlank(SharePointIntegration.Selected) || false,First(['<list name>]),SharePointIntegration.Selected)

  • Gochix Profile Picture
    1,937 Moderator on at

    @hiti ,

    Have you set the default mode to "edit" ?

    Gochix_0-1715644437721.png


    _____________________________________________________________________________________
    Please give a thumbs up if I resolved your issue! Please click Accept as Solution to close the topic!

  • hiti Profile Picture
    122 on at

    Yes, I did it now. But still, it is not working. 

    hiti_1-1715644947172.png

     

     

  • Gochix Profile Picture
    1,937 Moderator on at

    @hiti ,

    Try to set Items property to just

    SharePointIntegration.Selected

    As you may know the First() should be a Table to be displayed so i'm wondering if that's causing it (even if it shouldn't if you have visible records in the gallery and you have selected the record)


    _____________________________________________________________________________________
    Please give a thumbs up if I resolved your issue! Please click Accept as Solution to close the topic!

  • hiti Profile Picture
    122 on at

    Hi, 

    I got this screen after I updated the Item field with SharepointIntegration.selected.  I waited for 15-20 mins. Nothing came up. 

    hiti_0-1715651962576.png

     

  • Gochix Profile Picture
    1,937 Moderator on at

    @hiti ,

     

    Restart the editor, possible internet drop?

    Or try:

     

    LookUp(YourSPList, ID = SharePointIntegration.Selected.ID)

     

    Will be the same thing. I'm assuming the "SharePointIntegration" is a gallery of records, that you are selecting, correct?
    _____________________________________________________________________________________
    Please give a thumbs up if I resolved your issue! Please click Accept as Solution to close the topic!

  • hiti Profile Picture
    122 on at

    Yes. I have tried the above solution. However, still the same problem 

  • Gochix Profile Picture
    1,937 Moderator on at

    @hiti ,

    Have you set the DataSource the same as the "SharePointIntegration" gallery DataSource?
    If yes, then I have no idea why it would not work. That's the basic controls which can't be wrong. 

    Do experiment:

    Create a new screen, create a new vertical gallery and add your DataSource. 
    Add an edit form next to it and set the DataSource to the same as gallery and set the Items property to SPList.Selected.

    Set the DefaultMode to Edit.
    If after all these steps it still doesn't work then maybe there is something wrong with your SharePoint list?
    _____________________________________________________________________________________
    Please give a thumbs up if I resolved your issue! Please click Accept as Solution to close the topic!

  • hiti Profile Picture
    122 on at

    I did as you advised. Yellow arrow is vertical gallery connected to the data source and RED arrow is the Edit form coming from the same SP list. 

    hiti_0-1715659058458.png

     

     

    SPList.Selected.- This option is not coming . It shows me the SP name but after that selected is not appearing in the dropdown

    hiti_1-1715659082620.png

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 432 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 347

#3
WarrenBelz Profile Picture

WarrenBelz 254 Most Valuable Professional

Last 30 days Overall leaderboard