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 / Combobox Value for a p...
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? 

Categories:
I have the same question (0)
  • Ami K Profile Picture
    15,679 Super User 2024 Season 1 on at

    @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

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