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 / Create multiple reques...
Power Apps
Answered

Create multiple requests using people picker on Share point form

(0) ShareShare
ReportReport
Posted on by 94

I need to create a form where the request can be created for multiple users using the people picker combo box. 

 

So, if two users are selected, 2 records should get created in share point list.

User1.DisplayName, User1.Mail, User1.LineManager, UserType, ActionType, Role

User2.DisplayName, User2.Mail, User2.LineManager, UserType, ActionType, Role

 

Neha2904_0-1640190592318.png

 

Categories:
  • Al_10 Profile Picture
    1,691 Super User 2024 Season 1 on at

    @Neha2904 

     

    what are the names of the comboboxes on your screenshot?

    each record will have 6 columns to populate, what are the names and datatypes of those columns?

  • Neha2904 Profile Picture
    94 on at

    Hi @Alex_10 

    Thanks for the response. The form is structured as below:

    Field TypeField in PowerAppDataCard NameColumn in SPListType 
    ComboboxRequested ForDataCardValue3Full NameTextMultiselection people picker
    ComboboxRequested ForDataCardValue3EmailText 
    ComboboxRequested ForDataCardValue3Line Manager EmailText 
    ComboboxUser TypeDataCardValue11User TypeChoice 
    ComboboxActionTypeDataCardValue2Action TypeChoice 
    ComboboxRoleDataCardValue4RoleTextAll values of combobox are added as , separated text

     

  • Verified answer
    v-chenzhi Profile Picture
    Microsoft Employee on at

    Hi @Neha2904 ,

     

    Could you please show me your SharePoint List?

    I assuem you have this in SharePoint and have a test on my side, please try the following workaround.

    vchenzhi_0-1640253588632.png

    Add an Edit form.

    vchenzhi_4-1640253951753.png

     

    vchenzhi_2-1640253705366.png

    Add data.

    vchenzhi_3-1640253747782.png

    Set the Items property of ComBobox1 to:

    Office365Users.SearchUser()

    Set the OnChange property of ComBobox1 to:

    ClearCollect(Col,ComboBox1.SelectedItems)

    Add a Button, Set the OnSelect property of Button to:

    ForAll(
     Col,
     Patch(
     '1222',
     Defaults('1222'),
     {
     'Full Name': ThisRecord.DisplayName,
     Email: ThisRecord.Mail,
     'Line Manager Email': Office365Users.ManagerV2(ThisRecord.Mail).mail,
     'User Type': {Value: DataCardValue5.Selected.Value},
     'Action Type': {Value: DataCardValue6.Selected.Value},
     Role: DataCardValue7.Text
     }
     )
    )

     

     

    Best Regards,

    Zhi Chen

  • Neha2904 Profile Picture
    94 on at

    @v-chenzhi Thankyou for the solution. It worked.

     

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

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 393 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 328

#3
WarrenBelz Profile Picture

WarrenBelz 278 Most Valuable Professional

Last 30 days Overall leaderboard