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 / Populate Default selec...
Power Apps
Answered

Populate Default selected items Email field Dataverse

(0) ShareShare
ReportReport
Posted on by 443

Hallo,

i have an app connected to a table in dataverse. I have created a Column (Email).

 

in the application form i added a combo box in the datacard and set the Items to  Office365Users.SearchUser({searchTerm:ComboBox2.SearchText,top:100})

 

I want to display a specific email hard coded and i am not sure what to add in the Default or Default selected Items.

 

if i chose {Mail: "demo@test.com"} it shows no value.

 

Any ideas on  how to write this?

Categories:
  • zmansuri Profile Picture
    6,048 Super User 2024 Season 1 on at

    Try this in the DefaultSelectedItems:

     

    {
    '@odata.type': "#Microsoft.Azure.Connectors.SharePoint.SPListExpandedUser",
    Claims: "i:0#.f|membership|" & "abc@gmail.com",
    DisplayName: "DisplayName of the Person",
    Email: "abc@gmail.com",
    JobTitle: "",
    Picture: ""
    }

  • marial16 Profile Picture
    443 on at

    i am not using SharePoint. I use dataverse

  • jbrit2020 Profile Picture
    638 on at

    Is demo@test.com an existing record? if not, you wont be able to do this i believe. When there's already a datasource associated the combobox will only accept as a default value any values that exist on the associated table.

     

  • Verified answer
    marial16 Profile Picture
    443 on at

    i removed the DisplayName from the advanced options and i just used 

     

    {Mail: "demo@test.com"} and it worked

  • v-bofeng-msft Profile Picture
    Microsoft Employee on at

    Hi @marial16 :

    Thanks for your feedback.Glad to hear that you solved this problem.

    Please consider mark your solution as a 'solution' to help others.

    Best Regards,

    Bof

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 243 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 204 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 122

Last 30 days Overall leaderboard