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 / Create a SP List Item ...
Power Apps
Unanswered

Create a SP List Item for each selected User

(0) ShareShare
ReportReport
Posted on by 302
Currently creating a recognition platform and have a multiple select directory drop box. 

Is it possible for each selected user to have a list item created for them?

I know i'd throw it in a for each loop but want to make sure if even possible
Categories:
I have the same question (0)
  • Suggested answer
    timl Profile Picture
    36,383 Super User 2025 Season 2 on at
    Hi honganhuynh1 
     
    Yes, this would be possible by calling Patch from within a ForAll.
     
    The formula would look something like this:
     
    ForAll(
        YourDropdownBox.SelectedItems,
        Patch(
            YourDataSource,
            Defaults(YourDataSource),
            {
                Column1:DropdownBoxColumnName
            }
        )
    )
     
  • honganhuynh1 Profile Picture
    302 on at
    @timl,

    That did help create multiple list items but it put the same person for both list items.
     
    ForAll(
        DataCardValue15.SelectedItems,
        Patch(
            'BeNascentia Pending',
            Defaults('BeNascentia Pending'),
            {
                To:DataCardValue15.Selected
            }
        )
    )
  • timl Profile Picture
    36,383 Super User 2025 Season 2 on at
    Hi honganhuynh1 
     
    You should just be able to specify the column name in the dropdown rather than DataCardValue15.Selected.
     
    So for example if the column name is FullName, the syntax would look like this:
     
    ForAll(
        DataCardValue15.SelectedItems,
        Patch(
            'BeNascentia Pending',
            Defaults('BeNascentia Pending'),
            {
                To:FullName
            }
        )
    )
     
  • honganhuynh1 Profile Picture
    302 on at
    The column name is To 

    So should it be To:To?
  • honganhuynh1 Profile Picture
    302 on at
    ForAll(
        DataCardValue15.SelectedItems,
        Patch(
            'BeNascentia Pending',
            Defaults('BeNascentia Pending'),
            {
                To: ThisRecord
        })
    )

    Did the trick!
  • timl Profile Picture
    36,383 Super User 2025 Season 2 on at
    Thanks  honganhuynh1 - I'm glad that solved the issue.

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

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard