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 / how to pre populate us...
Power Apps
Unanswered

how to pre populate user details - dept, email, full name _ how to?

(0) ShareShare
ReportReport
Posted on by 1,994

Hi 

I am trying to get the staff information to pre populate with the email selected but it not showing
Can kindly adivse if this is right?

 

staffemail (Datacard10) is adropdown which did appear  

DefaultSelecttedItems:

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

bbsin_0-1718168017736.png

 

 

but it's not displaying the rest of the info
Am trying to link the full name, Designation and Department using the Email Datacard10 to populate automatically 

I have input as
Department default as 

DataCardValue10.Selected.Department

Designation default as 

DataCardValue10.Selected.JobTitle

StaffFullName

DefaultSelecttedItems:

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

This is correct?

Thank you
 
Categories:
I have the same question (0)
  • anandm08 Profile Picture
    1,936 Super User 2024 Season 2 on at

    hi @bbsin ,

    Dropdown (DataCard10) DefaultSelectedItems:

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

     

    Department Field Default:

    DataCardValue10.Selected.Department

     

    Designation Field Default:

    DataCardValue10.Selected.JobTitle

     

    Full Name Field DefaultSelectedItems:

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

    If you follow these steps and ensure the properties are correctly set, your form should populate the fields based on the selected email in the dropdown.

     


    Let me know if my answer helped solving your issue.

    If it did please accept as solution and give it a thumbs up so we can help others in the community.

     

  • bbsin Profile Picture
    1,994 on at

    @anandm08 
    Hi

     

    the syntax are right, but the department and job title didn't populate out?|

    bbsin_0-1718254795070.png

    |

    Department Field Default:

    DataCardValue10.Selected.Department

     

    Designation Field Default:

    DataCardValue10.Selected.JobTitle

     

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 711 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 319 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard