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 Apps
Unanswered

Manager Email Help

(0) ShareShare
ReportReport
Posted on by 36

Howdy! I have a Text Search Box that folks use to search for various emails addresses to use the PowerApp to send a clear email out. Welp I have had a few employees avoid the user guide or context clues I have for the person to search for there manager and just select the first email address they see. 

 

I was wondering if there was a way to autopopulate the TextSearchBox to show the user's manager and if they need to change the manger they can click on the search box and select someone else. 

 

I have this coded on "Items" and it works perfectly 

 

Office365Users.SearchUser({searchTerm:TextSearchBox1.SearchText,top:3})

 

 

I have seen a few fancy version but looking for something simple here to make the managers email populate on default and then the person can click on the search and change it if they want to.

 

Thank you!

 

Categories:
I have the same question (0)
  • NandiniBhagya20 Profile Picture
    4,667 Super User 2024 Season 1 on at

    Hi,

    you can set default selected items property of your combobox  to 

    {DisplayName: Office365Users.ManagerV2(User().Email).displayName, 
    Claims:"i:0#.f|membership|" & Office365Users.ManagerV2(User().Email).mail,
    Department:"",
    Email: Office365Users.ManagerV2(User().Email).mail,
    JobTitle:"",
    Picture:""}
  • rohitsbots Profile Picture
    280 on at

    @User_Admin If you put this on the TextSearchBox

     

    Office365Users.Manager(User().Email).Mail

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

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 320 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard