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 / How can I patch office...
Power Apps
Answered

How can I patch office 365 search user multiple selection?

(0) ShareShare
ReportReport
Posted on by 92

Hi,

 

I can patch single selection, see below but I need to multiple selection and when I update the column in Sharepoint list (allowing multiple selection), powerapps is throwing an error.

 

QAPresenter: {
 '@odata.type': "#Microsoft.Azure.Connectors.SharePoint.SPListExpandedUser",
 Claims: SearchPresenter_2.Selected.Mail,
 Department: "",
 DisplayName: SearchPresenter_2.Selected.DisplayName,
 Email: SearchPresenter_2.Selected.Mail, // Person email
 JobTitle: "",
 

 

Any help is appreciated. Thank you!

 

 

Regards,

May

Categories:
I have the same question (0)
  • Verified answer
    RandyHayes Profile Picture
    76,297 Super User 2024 Season 1 on at

    @mayarnaldo 

    I am assuming that your SearchPresenter_2 is a multi-select combobox and that you want to update your QAPresenter multi-person column with all the values selected in that combobox.

    If that is correct, then change your formula to the following:

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

     

    In order to set a multi-person column, you must supply a table of user-objects.  The ForAll returns such a table in the above formula.

     

    I hope this is helpful for you.

     

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 739 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard