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 / SharePoint 'Person' Co...
Power Apps
Answered

SharePoint 'Person' Column; patching with combobox.

(0) ShareShare
ReportReport
Posted on by 100

I have a SharePoint list, Travel_test, and in that list i have a 'Person' column. 

I have been successful with a combobox on my PowerApp to pull in the 365-profile with the following:

 

DisplayFields = ["DisplayName"]

Items = Choices([@Travel_Test].Traveler)

 

But when trying to patch the record, I am receiving the following error:

 

Patch Code:

 

Patch(Travel_Test, Defaults(Travel_Test), {Traveler:ComboBox1.Selected.DisplayName})

 


Error:

PBInonpro_0-1676827740318.png
Not sure what I am doing wrong. 

 

Categories:
I have the same question (0)
  • Verified answer
    LaurensM Profile Picture
    12,516 Moderator on at

    Hi @PBInonpro,

     

    Your SharePoint list is expecting a person record, and you are currently only trying to patch the Display Name to that field. A slight adjustment to your code should do the trick (remove .DisplayName):

     

    Patch(
     Travel_Test, 
     Defaults(Travel_Test), 
     {Traveler:ComboBox1.Selected}
    )

    (Keep in mind that, should your list contain required fields, you will have to list them in your patch as well)

     

    If this solves your question, would you be so kind as to accept it as a solution.

    Thanks!

  • PBInonpro Profile Picture
    100 on at

    I thought I tried that and got an error; but it worked, so maybe a mistype. Either way, thank you. 

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!

Leaderboard > Power Apps

#1
wolenberg_ Profile Picture

wolenberg_ 119 Super User 2026 Season 1

#2
WarrenBelz Profile Picture

WarrenBelz 107 Most Valuable Professional

#3
Haque Profile Picture

Haque 103

Last 30 days Overall leaderboard