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 / Pick up info for email...
Power Apps
Answered

Pick up info for email template

(0) ShareShare
ReportReport
Posted on by

Hi all!

 

can someone help me with this?

I want to create an email template which it picks up information from a form.

Ex: 

2020-07-22 10_57_36-Presentation1 - PowerPoint.png

Categories:
I have the same question (0)
  • mdevaney Profile Picture
    29,991 Moderator on at

    @bsoares 
    Put this code in the Default property of your message field.

    "Hi,
    
    Your XXX is ready to be picked up. It is in locker "& TextInput_Locker.Text &" and the code is "& TextInput_Code.Text&"."

     

     

    ---
    Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."

  • bsoares Profile Picture
    on at

    @mdevaney 

     

    Hi! Thanks for your help.

    But I did it and didn't work. 

    I replaced "& TextInput_Locker.Text &" with"& DataCardValue9.Text&". Nothing happens.

    the same for the Code field.

  • Verified answer
    v-yutliu-msft Profile Picture
    Microsoft Employee on at

    Hi @bsoares ,

    Could you tell me whether you submit the form when you navigate to the email screen?

    Please notice that:
    if you submit the form, data in the form will be invalid.

    So if you not submit the form, you could directly use the data in the form.

    Just setting the email textinput's Default like @mdevaney  said.

    If you have submitted the form, you need to firstly save the data that you want to use as variables before you submit the form.

    Then set the email textinput's Default based on these variables.

     

    For example:

    set the form's submit button's OnSelect:

    Set(Locker,TextInput_Locker.Text);
    Set(Code,DataCardValue9.Text);
    SubmitForm(Form1)

    set the email body textinput's Default:

    "Hi,
    
    Your XXX is ready to be picked up. It is in locker "& Locker //variable1
    &" and the code is "& 
    Code&"." //variable2

     

     

    Best regards,

  • bsoares Profile Picture
    on at

    @v-yutliu-msft 

     

    It worked! Thanks for your help and for explaning.

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

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 329 Most Valuable Professional

#2
11manish Profile Picture

11manish 209 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 179

Last 30 days Overall leaderboard