I need assistance with power apps sending an email certificate with dynamic content from an edit form screen when a button is pressed.
Below is how the edit form looks like.
Below is the formula.html code I am trying to use when I click a button. I am not an expert in HTML code that where I need assistance with.
Office365Outlook.SendEmailV2(
DataCardValue8.Selected.Email,
"Testing HTML",
"<div style='width:800px; height:600px; padding:20px; text-align:center; border: 10px solid #787878'>
<div style='width:750px; height:550px; padding:20px; text-align:center; border: 5px solid #787878'>
<span style='font-size:50px; font-weight:bold'>Compensation Statement</span>
<br><br>
<span style=''ont-size:25px'><i>2021 Action</i></span>
<br><br>
</div>
</div>"
)
Below is an example template of certificate I am trying to create using HTML codes.
Any help on this will be highly appreciated.
Thanks
Lio
Solved! Go to Solution.
You can insert dynamic values into HTML code by simply inserting your field values in it. Here is an example:
"<span style='font-size:50px; font-weight:bold'>" & Textbox1.Text & "</span>"
For the logo, you can't directly add an image there. You can convert your image file into base64 use that in your HTML code. Here is a video about base 64 : https://www.youtube.com/watch?v=bIne3DD3HAg
You can insert dynamic values into HTML code by simply inserting your field values in it. Here is an example:
"<span style='font-size:50px; font-weight:bold'>" & Textbox1.Text & "</span>"
For the logo, you can't directly add an image there. You can convert your image file into base64 use that in your HTML code. Here is a video about base 64 : https://www.youtube.com/watch?v=bIne3DD3HAg
Thank you, Adrain
User | Count |
---|---|
246 | |
103 | |
82 | |
49 | |
42 |