web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Patch to Multi Person ...
Power Apps
Unanswered

Patch to Multi Person SP Column

(0) ShareShare
ReportReport
Posted on by

Hi all,

 

I am building an issue tracker where the issue can be assigned to multiple persons and seem to be going around in circles a bit with this one. I've tried multiple things from forums/YT videos but nothing seems to be working for me.

 

The assigned people are added to a collection, I am then trying to patch the collection back to the relevant SP field. The SP column is set up as a multi person column. How do I change the below to patch all the people in the collection instead of just a single selected person? 

 

What I have so far: 

 

Patch(

    TrackerSPList,

    LookUp(TrackerSPList, SerialNo = varRecordTriage.SerialNo),

    {

        AssignedToPerson: Table(

        {

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

            Department: varSelectedPerson.Department,

            Claims: "i:0#.f|membership|" & varSelectedPerson.Mail,

            DisplayName: varSelectedPerson.DisplayName,

            Email: varSelectedPerson.Mail,

            JobTitle: varSelectedPerson.JobTitle,

            Picture: varSelectedPerson.Mail

        })

    }

)

Categories:
I have the same question (0)
  • WarrenBelz Profile Picture
    153,427 Most Valuable Professional on at

    Hi @nemo1 ,

    I assume varSelectedPerson is your Collection ??

    Patch(
     TrackerSPList,
     LookUp(
     TrackerSPList, 
     SerialNo = varRecordTriage.SerialNo
     ),
     { 
     AssignedToPerson: 
     ForAll(
     varSelectedPerson As aPerson,
     {
     '@odata.type': "#Microsoft.Azure.Connectors.SharePoint.SPListExpandedUser",
     Department: aPerson.Department,
     Claims: "i:0#.f|membership|" & Lower(aPerson.Mail),
     DisplayName: aPerson.DisplayName,
     Email: aPerson.Mail,
     JobTitle: aPerson.JobTitle,
     Picture: ""
     }
     )
     }
    )

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    MVP (Business Applications)   Visit my blog Practical Power Apps

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 386 Most Valuable Professional

#2
Kalathiya Profile Picture

Kalathiya 361

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 339 Super User 2025 Season 2

Last 30 days Overall leaderboard