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 / Update Sharepoint List...
Power Apps
Answered

Update Sharepoint List with PowerApp

(0) ShareShare
ReportReport
Posted on by 25

Hello,

 

I am completely new to PowerApps and I've searched for hours trying to find the answer to this problem I have, but either the solutions I've found don't work for my specific situation or I am not knowledgeable enough to apply the solutions properly.

 

I have a sharepoint list containing some columns that are prefilled and others that aren't. For example, let's say that I have the following item in my sharepoint list:

IDEmailDateStatusComments
1Asdf@asdf.com   

So the first two columns are already filled and the other three aren't. The PowerApp already has the [Date] pre-populated with today's date, [Status] is a drop-down list, and [Comments] is a long-text. Both ID (system-generated) and Email are hidden in the PowerApp since I don't want those to be edited.

 

I have a Power App form that contains those three columns as fields for the user to fill in with a submit button.

I also have a Power Automate flow that sends the user an email with the link to the PowerApp as soon as the item is created in the Sharepoint List so that they can submit the form in PowerApp to update the item with the other three columns filled in.

 

Whenever I press the submit button on the PowerApp, a new item gets generated like below:

IDEmailDateStatusComment
1Asdf@asfd.com   
2 8/10/2021CompleteBlah Blah Blah

 

Instead, I need all of the information updated to the first line like this:

IDEmailDateStatusComment
1Asdf@asdf.com8/10/2021CompleteBlah Blah Blah

 

I've looked into form edit, patch function, matching by ID, and tons of videos., but nothing seems to be working.

 

I would appreciate any help with this issue.

Also, apologies if there's already a solution to this issue, I probably just don't know how to make that solution work in my case.

Thank you!

Categories:
  • RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @yunho_534 

    You don't need patch, you just need to make sure your edit form is using the correct record.

    So, what is the Item property of your form?

  • yunho_534 Profile Picture
    25 on at

    @RandyHayes 

    The Item property is blank. I know that some solutions included something related to SharePointIntegration, but that field isn't recognized in my PowerApps form.

  • RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @yunho_534 

    How are you selecting the record from your list?

    Or, in other words, did you create your app as a standalone app or as a customize forms from sharepoint?

  • yunho_534 Profile Picture
    25 on at

    @RandyHayes 

    I created the app as a blank canvas and connected it to my sharepoint list as a data source.

  • RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @yunho_534 

    Okay, very good.  So, what method are you using to select the record in your list, a gallery, some function, etc?

    In other words, you show a record with ID 1 in your post that you want to update....how is it you are determining that record ID 1 needs to be updated?

  • yunho_534 Profile Picture
    25 on at

    @RandyHayes 

    I think that's where my issue is. I don't know where to specify that. I thought it would be done in the Item property by using a lookup function to match with the ID, but that doesn't seem to work. I have the ID as a parameter in the URL. I also have the actual ID_DataCard default value set to that parameter value.

  • JayashreeKrish Profile Picture
    270 on at

    can u send a screenshot of you power apps screen ? 

  • RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @yunho_534 

    Yes, it can be that, but is that the method you are going to use to select the item in the list...the URL param?

     

  • yunho_534 Profile Picture
    25 on at

    @JayashreeKrish 

    Unfortunately, I can't show you the PowerApp, but I can show you the contents of the properties.

     

    @RandyHayes

    It doesn't have to be the URL parameter. If there's another way of doing it, I am open to it. I feel like this shouldn't be a complicated thing to do. Here's a screenshot of the properties of the submit button.

     

    Here's what I currently have in the properties for the Form:

    yunho_534_1-1628625748104.png

    I tried to use currentRecord.ID in the Item property, but I would get an error "Invalid use of ."

  • RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @yunho_534 

    See the thing is...I'm not really sure what it is that you're trying to do from the app perspective.

    Usually an app will have some sort of list (gallery) that has the records that can be edited.  A user selects one and then edits.

    In your case, it sounds like you are trying to skip that step by passing in some record ID in the URL.  This is fine if that is what you want, although it could be problematic. 

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

#2
WarrenBelz Profile Picture

WarrenBelz 192 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 135

Last 30 days Overall leaderboard