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 / How to set a defaul va...
Power Apps
Answered

How to set a defaul value for a person fields in a SharePoint list?

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi

 

I have an app and want to set a default value on a person field in PowerApps. The datasource is a simple SharePoint Online list with a person field in it. I know how to write the JSON to represent the person, but i am unsure on how to handle the field tile correctly.

 

Anyone knows how to achieve this easy?

Categories:
  • Verified answer
    v-xida-msft Profile Picture
    Microsoft Employee on at

    Hi @HeikoHa,

    Do you want to set a Default value for the Person field in the Edit form of your app?

    The user @Brice235i has faced same issue with you please check the response within the following thread:

    https://powerusers.microsoft.com/t5/Creating-Apps/Set-the-default-value-of-person-lookup-to-current-user-and/td-p/150247

    I have made a test on my side, please take a try with the following workaround:7.JPG

    Set the DefaultSelectedItems property of the ComboBox control within the Executor Data card to following:

    If(
     EditForm1.Mode=FormMode.New,
     {
     DisplayName: User().FullName,
     Claims: "i:0#.f|membership|" & Lower(User().Email)
     },
     Parent.Default
    )

    On your side, you should type:

    If(
     EditForm1.Mode=FormMode.New,
     {
     DisplayName: "The display name of the user you want to set as default",
     Claims: "i:0#.f|membership|" & Lower("The email address of the user you want to set as default")
     },
     Parent.Default
    )

    More details about set a default value for a Person field in Edit form, please check and see the following blog:

    https://powerapps.microsoft.com/en-us/blog/default-values-for-complex-sharepoint-types/

     

    Best regards,

    Kris

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

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 405 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 368

#3
WarrenBelz Profile Picture

WarrenBelz 244 Most Valuable Professional

Last 30 days Overall leaderboard