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 list not up...
Power Apps
Answered

Sharepoint list not updating

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi,

 

I've been trying to update a row in sharepoint with the function Patch, I have some fields called Origen, Proceso,Clasificacion and they all update with Patch, but the column Responsable is not updating, this one must be updated with a selected user from a Dropdown, something like ListResponsable(name of the dropdown).Selected.DisplayName

Patch (
Nameofthelist;
{ID: [ ID about to be updated ]};
{
Proceso: ....;
Clasificacion: ....;

...;
Responsable: ListResponsable.Selected.DisplayName;
} ) 

Also, the column Responsable is set as Group or Person in Sharepoint. I need this to be set as Group or Person beacuse I'm using the selected item info on another screens in powerapps, like Email and Name

Categories:
  • Verified answer
    v-monli-msft Profile Picture
    Microsoft Employee on at

    Hi @Anonymous,

     

    This is because that you only patched the DisplayName part of Person and Group field. As the Person or group column type in SharePoint list is considered as a lookup field, we should patch the whole record of the person to this field.

    I will share an example here.

     

    Patch to the Person or group field. The record of single person would contain the following values:

     

    {'@odata.type':"#Microsoft.Azure.Connectors.SharePoint.SPListExpandedUser",
     Claims:"i:0#.f|membership|mona@wiXXXX.onmicrosoft.com",
     Department:"",
     DisplayName:"Mona Li",
     Email:"Mona@wiXXXX.onmicrosoft.com",
     JobTitle:"",
     Picture:""
     }

    Each value should match the pre-defined value stored under SharePoint data source, if you have no idea for the Department, JobTitle or Picture field, you may just leave it as "".

     

    Fields need to be entered:

    The Value for this field is fixed.

    '@odata.type':"#Microsoft.Azure.Connectors.SharePoint.SPListExpandedUser",

    for Claims field,you should modify the end of this field to match the person Email:

    Claims:"i:0#.f|membership|mona@wiXXXX.onmicrosoft.com",

    And the DisplayName and Email field, as shown below:

     

     DisplayName:"Mona Li",
     Email:"Mona@wiXXXX.onmicrosoft.com",

     

    Regards,

    Mona

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Yes! This worked perfectly! Thanks

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

#2
Mohsin Ali Profile Picture

Mohsin Ali 338

#3
WarrenBelz Profile Picture

WarrenBelz 256 Most Valuable Professional

Last 30 days Overall leaderboard