2

Does any one know how to update SharePoint Group in Person and Group field using Powerapps patch function?

2 Answers 2

2

The solution is, in claims and display name give SharePoint group name

Set(SearchGroup,{
Claims: "dev Members",
Department:"",
DisplayName:"dev Members",
Email:"",
JobTitle:"",
Picture:""
});
Patch(TestList,Defaults(TestList),{Title:"Test",PersonField:SearchGroup});

Note: This logic is for SharePoint Group,I assume for O365 group there is different logic.

0

When patching people fields, the following properties need to be included:

  • Claims
  • Department
  • DisplayName
  • Email
  • JobTitle
  • Picture

Below articles would be helpful to you:

https://www.c-sharpcorner.com/article/set-default-value-to-person-or-group-field-in-powerapps/

https://www.about365.nl/2018/11/01/handling-sharepoint-lookup-and-people-fields-in-powerapps/

1
  • Hi Michael, the examples you are giving are to patch person in a field person and group field. I want to patch SharePoint Group in person and group field.
    – P S
    Feb 27, 2020 at 7:41

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.