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 / Custom SharePoint List...
Power Apps
Answered

Custom SharePoint List Form Edit Selected Item

(0) ShareShare
ReportReport
Posted on by 34


Hi,

I'm trying to build a custom form in a SharePoint list using Power Apps.

So instead of using the Form control, I used the Patch function to create a new item, so no problems there. 

The only thing I'm having trouble with is how to edit the item that was selected in the SP list. Kinda like selecting from a gallery but if it's possible from the list then that would be great.

Is there a way to select the item from the SP list so the details would appear?

Categories:
  • Verified answer
    Ami K Profile Picture
    15,689 Super User 2024 Season 1 on at

    @RobIsidro17 - you would need to leverage the SharePointIntegration control. This is the control which links your interactions with the SharePoint interface with the Power App.

     

    For example, suppose you have added a Text Input Control outside of the Form control, and you want to bind it to the SharePoint TItle column. You would need to set the Default property of the Text Input Control to:

     

    SharePointIntegration.Selected.Title

     

    Your Patch statement to save any edit to that TextInput control would be:

     

    Patch(
     'Your List',
     SharePointIntegration.Selected,
     {Title: TextInput1.Text}
    )
    

     

    However, while this may work in practice, I am not clear what purpose any of this serves.

     

    Using the out of the box Form control would be the most sensible and robust solution to save and edit your list.

  • RobIsidro17 Profile Picture
    34 on at

    Thank you! The solution you provided works. 🙂 The reason why I use Patch instead of Form is to customize the fields meaning I can move it to any position but yes, I understand that will take a lot of work customizing by using the Patch function.

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 232 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 202 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 122

Last 30 days Overall leaderboard