Skip to main content
Community site session details
Power Apps - Building Power Apps
Answered

Set ComboBox Default to Current User and Save in Sharepoint List Person column.

Like (0) ShareShare
ReportReport
Posted on 3 Oct 2019 20:55:38 by

I have a Sharepoint List with a Person column that accepts multiple people.  In my PowerApp I have a Combobox tied to this column that also accepts multiple people.  I have not been able to figure out how to set the default for the Combobox to the current user for a new record.  Any help with this would be appreciated.  Thanks.

Categories:
  • Verified answer
    RezaDorrani Profile Picture
    12,141 on 03 Oct 2019 at 21:20:59
    Re: Set ComboBox Default to Current User and Save in Sharepoint List Person column.

    Hi @Anonymous ,

     

    Set the default property of the data card to

     

    If(FormName.Mode= FormMode.New ,Table({
    DisplayName: User().FullName,
    Claims: "i:0#.f|membership|" & User().Email
    }),ThisItem.PPFieldName)

     

    where FormName = name of your form

    PPFieldName = column name in SP

     

    --------------------------------------------------------------------------------
    If this post helps answer your question, please click on “Accept as Solution” to help other members find it more quickly. If you thought this post was helpful, please give it a Thumbs Up.

     

  • Verified answer
    Community Power Platform Member Profile Picture
    on 10 Oct 2019 at 13:28:28
    Re: Set ComboBox Default to Current User and Save in Sharepoint List Person column.

    Even though I am not using "Forms", I was able to use the red code below from your suggestion.  Thanks!

     

    If(lvarStatus="New",
        Table({DisplayName:User().FullName,
        Claims:"i:0#.f|membership|" & User().Email}),
        RFQAGallery.Selected.SendEmails)

Helpful resources

Quick Links

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 791 Most Valuable Professional

#2
MS.Ragavendar Profile Picture

MS.Ragavendar 410 Super User 2025 Season 2

#3
mmbr1606 Profile Picture

mmbr1606 275 Super User 2025 Season 2