Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Building Power Apps
Unanswered

Combobox Value for a person type column

(0) ShareShare
ReportReport
Posted on by

Hi Everyone 

@v-jefferni 

 

I have a person type column in my SharePoint List and combo box in PowerApps for a people picker.

 

For this single selection Combobox  I have following property 

 

For the single selection people column, Update should be:

 

{Claims: ComboBox.Selected.Mail}

 

DSI: First(Office365Users.SearchUser({searchTerm: ThisItem.ColumnName.Email}))

 

Office365Users.SearchUser({searchTerm: ComboBox1_3.SearchText})

First(Office365Users.SearchUser({searchTerm: ThisItem.Primary_risk_owner.Email}))

{Claims: ComboBox1_3.Selected.Mail}

 

 

The issue is with the default value, Not Matter what I set in the default value, there is always a preselected one in the combo box. 

 

I have set the default as Blank (), then also the first Item get preselected. 

 

Danny_Dicaprio_0-1712642048108.png

 

 

Could anyone please help me to fix this issue? 

  • Ami K Profile Picture
    15,665 Super User 2024 Season 1 on at
    Re: Combobox Value for a person type column

    @Danny_Dicaprio - the Default property of the ComboBox control is deprecated.

     

    In the Update property of the DataCard, use:

     

    {
     DisplayName: ComboBox1_3.Selected.DisplayName,
     Claims: "i:0#.f|membership|" & Lower(ComboBox1_3.Selected.Mail),
     Department: "",
     Email: Lower(ComboBox1_3.Selected.Mail),
     JobTitle: "",
     Picture: ""
    }

     

    On the DefaultSelectedItems property of the ComboBox, remove "Parent.Default" and instead use:

     

    If(
     !IsBlank(ThisItem.Primary_risk_owner.Email),
     First(Office365Users.SearchUser({searchTerm: ThisItem.Primary_risk_owner.Email}))
    )

     

    Do not make any other modifications to the DataCard.

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,660 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,999 Most Valuable Professional

Leaderboard