cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
patricia_r
Helper I
Helper I

Patching Person or group SharePoint

Hello,

 

I am encountering this issue when i am trying to patch a person or group column type in SharePoint. After doing research here in the forums it was advice to enter it like this however not sure why i am still getting the error and it is not updating the manager column in SharePoint. Any thoughts on why this happening? 

 

 

 

patricia_r_0-1633645543493.png

Using a datacardvalue from a form 

patricia_r_0-1633645748660.png

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
StalinPonnusamy
Community Champion
Community Champion

Hi @patricia_r 

 

Combobox items property is

Choices(SPList.'PersonColumn')

 

Patch Command will be

Patch(
    SPList,
    Defaults(SPList),
    {
        'Assigned to': {
            '@odata.type': "#Microsoft.Azure.Connectors.SharePoint.SPListExpandedUser",
            Claims: "i:0#.f|membership|" & ComboBox1.Selected.Email,
            Department: "",
            DisplayName: "",
            Email: ComboBox1.Selected.Email,
            JobTitle: "",
            Picture: ""
        }
    }
)

 

 

View solution in original post

2 REPLIES 2
StalinPonnusamy
Community Champion
Community Champion

Hi @patricia_r 

 

Combobox items property is

Choices(SPList.'PersonColumn')

 

Patch Command will be

Patch(
    SPList,
    Defaults(SPList),
    {
        'Assigned to': {
            '@odata.type': "#Microsoft.Azure.Connectors.SharePoint.SPListExpandedUser",
            Claims: "i:0#.f|membership|" & ComboBox1.Selected.Email,
            Department: "",
            DisplayName: "",
            Email: ComboBox1.Selected.Email,
            JobTitle: "",
            Picture: ""
        }
    }
)

 

 

View solution in original post

StalinPonnusamy
Community Champion
Community Champion

Hi @patricia_r 


Please let us know if anything needs on your post. We can help with this.

Please do not forget to give kudos if you find the suggestion helpful or Accept it as a solution if works fine to help other users to find it useful.

Thanks,
Stalin - Learn To Illuminate

Helpful resources

Announcements
User Group Leader Meeting January 768x460.png

Calling all User Group Leaders!

Don't miss the User Group Leader meetings on January, 24th & 25th, 2022.

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Top Solution Authors
Top Kudoed Authors
Users online (1,519)