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 / Don't get a value from...
Power Apps
Answered

Don't get a value from the datacard

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hey,

I have a problem because in the application I am creating I want to send a notification that there is a new shipment in the

application.

This is my code onSuccess property in form.

 

 

Office365Outlook.SendEmailV2(If(IsBlank(DataCardValue5.Selected.Email), "pidom@gmail.com",DataCardValue5.Selected.Email),...)

 

 

The problem is that it doesn't get me a value from datacardvalue5, it's a combobox, with data type person in SharePoint.

Categories:
  • Verified answer
    WarrenBelz Profile Picture
    156,566 Most Valuable Professional on at

    Hi @Anonymous ,

    I suspect your form is resetting after submitting, so on the OnChange of DataCardValue5

    UpdateContext({varEmail: Self.Selected.Email})

    Then OnSuccess

    Office365Outlook.SendEmailV2(
     Coalesce(
     varEMail,
     "pidom@gmail.com"
     ),
     . . . . .
    )

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    Visit my blog Practical Power Apps

     

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Thank You 😄

     

    I have one more question, can I add an attachment from my forms to an email?
    Write it like a variable and send it?

  • WarrenBelz Profile Picture
    156,566 Most Valuable Professional on at

    Hi @Anonymous ,

    This blog of mine should assist you here

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    Visit my blog Practical Power Apps

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

#2
Mohsin Ali Profile Picture

Mohsin Ali 354

#3
WarrenBelz Profile Picture

WarrenBelz 232 Most Valuable Professional

Last 30 days Overall leaderboard