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 / How do I patch to a pe...
Power Apps
Answered

How do I patch to a people column in SharePoint list

(0) ShareShare
ReportReport
Posted on by 330

I have a gallery that is displaying some data that I want to patch to another SharePoint list. Currently I am trying to do this, but I can't get the people column data part to work.  It is a single people column.

Patch('my list',LookUp('my list',ID=xxx),{txtcol: ThisItem.txtColName, myPeopleCol: ThisItem.galPeopleCol})

How do I grab the people column value that is displayed in the gallery, and patch that to a people column in a SharePoint list?

Categories:
I have the same question (0)
  • Verified answer
    Rajkumar_M Profile Picture
    3,747 Moderator on at

    Hi  @Spawn10  

     

    Patch(
    'my list',
    LookUp('my list', ID=xxx),
    {
    txtcol: ThisItem.txtColName,
    myPeopleCol: {
    '@odata.type':"#Microsoft.Azure.Connectors.SharePoint.SPListExpandedUser",
    Claims: "i:0#.f|membership|xxx.yyy@companyname.com",
    Department: " ",
    DisplayName: " ",
    Email: " ",
    JobTitle: " ",
    Picture: ""
    }
    }
    )

     

    Refer this link : How To Patch A SharePoint Person Column In Power Apps (c-sharpcorner.com)

     

    PATCH A SharePoint Person Column In Power Apps - Matthew Devaney

     

     

    Thanks!

     

    If my response has been helpful in resolving your issue, I kindly request that you consider clicking "Accept as solution" and "giving it a thumbs up" as a token of appreciation.

     

     

  • Verified answer
    cdwhite Profile Picture
    1,069 Most Valuable Professional on at

    Hi @Spawn10 ,

    You'll likely need something like this:

     

     

    Patch(
     'my list',
     LookUp('my list',ID=xxx),
     {
     txtcol: ThisItem.txtColName, 
     myPeopleCol: 
     {
     DisplayName: "",
     Claims: "user@emailaddress.com",
     Department: "",
     Email: "",
     JobTitle: "",
     Picture: ""
     }
    })

     


    You can hardcode the email address in the Claims part, like above, or reference a relevant gallery field. For example, ThisItem.galPeopleCol.Email, or ThisItem.Email etc.

     

    The method above is the least bloated in terms of code, you don't need any other properties populated in the object. I've tested the above code on my end and works perfectly, and is going to be included in a blog post on the topic that I'm releasing soon 😀
    ------------------------------------------------------------------------------------------------------------------------------
    If I've answered your question, please mark your post as Solved. You can accept more than one post as a solution.

    If my response was a good one, please give it a Thumbs Up!

    Visit my blog: https://platformsofpower.net

  • mmbr1606 Profile Picture
    14,629 Super User 2026 Season 1 on at

    2023-12-01_10h56_41.png

    this is how i patch into People Picker without network issue

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 977

#2
Valantis Profile Picture

Valantis 664

#3
11manish Profile Picture

11manish 530

Last 30 days Overall leaderboard