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 / Multi-person SharePoin...
Power Apps
Unanswered

Multi-person SharePoint Column updated from Combo box

(1) ShareShare
ReportReport
Posted on by 2

I have a multi-person SharePoint column "InterestedPersons" that I want users to update from a canvas app combo box. By default it should show the names of the people already in the SharePoint field and users should be able to add and remove names at will.

 

Getting the names already in the "InterestedPersons" field to display in the combo box as defaults is easy, but they don't truly seem to be "selected" as I can't access any of their details to patch back to SharePoint. Only newly selected people work correctly, not the ones already in the list. Therefore the result is the patch adds new people, but clears out the names already in the field since the Email address for those defaulted people are not patched to the Claims column in my collection.

 

Combo Box Setup:

Items:
Office365Users.SearchUser({searchTerm: Self.SearchText})    //this works

 

DefaultSelectedItems:
gallery.selected.InterestedPersons     //default names display correctly, but don't actually seem to reference the actual records

 

OnChange:
Clear(InterestedPersonsCollection);

ForAll(ComboBox.SelectedItems,

  Collect(InterestedPersonsCollection,

  {

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

    Claims:"i:0#.f|membership|" & ThisRecord.Mail,    //new items work, defaulted items have blank mail

    Department:"",

    DisplayName:"",

    Email:"",

    JobTitle:"",

    Picture: "."

  }

  )

)

 

Is there a way to accomplish this?

Categories:
I have the same question (0)

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!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 762

#2
11manish Profile Picture

11manish 640

#3
Valantis Profile Picture

Valantis 548

Last 30 days Overall leaderboard