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 / Get Email Address from...
Power Apps
Unanswered

Get Email Address from Person Column

(0) ShareShare
ReportReport
Posted on by 245

Hi!  I have a Person column in SharePoint called HR Generalist and I'm trying to configure a button in my App to send the HR Generalist an email, but can't seem to complete the connection of that person's email address from the datacardvalue48.

 

Thank you so much for any help you can offer! 

 

2024-03-27 07_41_59-Settings.png

Categories:
I have the same question (0)
  • Verified answer
    cdwhite Profile Picture
    1,067 Most Valuable Professional on at

    Hi @apettit ,

    You're almost there with your code! You've referenced the DataCard correctly, but we also need to specify what property/value we need from the DataCard.

    I've recreated it at my end, injecting a Person column from SharePoint into a form control. I have a button with the following in the OnSelect property:

    Launch("mailto:" & DataCardValue15.Selected.Email)

    I get the desired result - a fresh email opening up ready to type.

    FYI, you can also send a complete email from Power Apps directly, using the Office 365 Outlook connector. With that connector added to your app, you could do something like this in the OnSelect property of the image instead, if you needed to:

    Office365Outlook.SendEmailV2(
     //To
     DataCardValue15.Selected.Email,
     // Subject
     "Here is my subject",
     // Body
     "Here is my body")

    You can make the subject & body dynamic too, by referencing other variables/outputs as needed.

    Hope that helps!
    ------------------------------------------------------------------------------------------------------------------------------
    If I've answered your question, please mark your post as Solved. You can accept more than one post as a solution.

    If my response was a good one, please give it a Thumbs Up!

    Visit my blog: https://platformsofpower.net

  • apettit Profile Picture
    245 on at

    @cdwhite Thank you so much for that!  I was close (but no cigar)!!   Interesting thought on the Office365 connector... I think in this use-case, I'd want the user to be able to manage the subject line and body of the email because it could be really about anything, so I like the idea that it opens Outlook.  

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