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 / Defaultselecteditem mu...
Power Apps
Answered

Defaultselecteditem multiple selection Person field in SharePoint

(0) ShareShare
ReportReport
Posted on by 30

I have  combo box looking up users in Office365Users which is linked to a field in SharePoint which is a "Person or Group" field. 

how can I set Defaultselecteditem so that  user can Edit/Update the SharePoint list ? Doe anyone know how to set Defaultselecteditem Value  from Combobox multiple selection & SharePoint List ? Thanks you for your help . 

 

DefaultSelectedItems: {
'@odata.type':"#Microsoft.Azure.Connectors.SharePoint.SPListExpandedUser",
Claims:"i:0#.f|membership|"& GalTemp.Selected.'Emp.Email,
DisplayName:GalTemp.Selected.'Emp.DisplayName,
Department:"",
Email:GalTemp.Selected.'Emp.Email,
JobTitle:"",
Picture:""
}

Categories:
I have the same question (0)
  • dave-jorgensen Profile Picture
    502 on at

    Not sure why you are trying to create the table with the user fields, based off of "GalTemp.Selected". Whatever GalTemp.Selected is, just make that a combo box. set the items to the choices of your sharepoint list field eg Choices([@Approvals].Approver). Then your defaultSelectedItems is GalTemp.SelectedItems, and that will be your table of users

  • v-qiaqi@microsoft.com Profile Picture
    Microsoft Employee on at

    Hi @GET123,

    Have you solved your problem?

    Do you want to update the Multi-Select Person fields by setting the DefaultSelectedItems property of a Combo Box?

    Could you please tell me that how you set the Items property of the Combo Box?

     

    Actually, I agree with @dave-jorgensen that you could set the Items with Choices() function if you do not have additional search needs for office365 users. And then set the Update property of the data card with the ComboBox.SelectedItems, which would help you update the Person field successfully.

     

    However, if there is something additional for you select office365 users, I think you should use a specific format as below:

    ForAll(ComboBox1.SelectedItems,
     {
     '@odata.type': "#Microsoft.Azure.Connectors.SharePoint.SPListExpandedUser",
     Claims: Mail,
     Department: "",
     DisplayName: Mail,
     Email: Mail, 
     JobTitle: ".",
     Picture: "."
     }
     )

     

    Further, the DefaultSelectedItems property of a Combo Box will display items only when the users do not interact with it, which means the Combo Box will always display default items before you select within. Any time you selected manually, the DefaultSelectedItems property will fail to work.

  • Verified answer
    GET123 Profile Picture
    30 on at

    @v-qiaqi-msft ,@dave-jorgensen ,

    Thank you  for your help . I used Edit  form to fix the  issue . 

  • v-qiaqi@microsoft.com Profile Picture
    Microsoft Employee on at

    Hi @GET123,

    So glad that you have resolved your problem, could you please mark your reply as an answer to help more users who may have the same issue?

    Thanks for your cooperation.

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 Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Valantis Profile Picture

Valantis 387

#2
timl Profile Picture

timl 340 Super User 2026 Season 1

#3
Vish WR Profile Picture

Vish WR 301

Last 30 days Overall leaderboard