想把APP里面一个集合通过邮件发送出来, 但是找不到可以把集合插入邮件正文的方法.
已经链接office365 outlook.
比如一个简单的集合表
日期 说明
1 abc
2 bcd
怎么样把这个表插入邮件呢?
想把APP里面一个集合通过邮件发送出来, 但是找不到可以把集合插入邮件正文的方法.
已经链接office365 outlook.
比如一个简单的集合表
日期 说明
1 abc
2 bcd
怎么样把这个表插入邮件呢?
国内这样的基本资料真的太少了. 去英文网站找了一下资料, 抛砖引玉吧.
原帖: https://powerusers.microsoft.com/t5/Building-Power-Apps/Data-Table-to-Email-in-PowerApps/td-p/182115
前面插入Html输入栏略了, mail写法也略了.主要看看下面用HTML做表.
<!--表头-->
<html>
<head>
"<h3>Data Table HTML Email</h3>" &
"<strong> Items: </strong>" &
"<table width='100%' border='1' cellpadding='5' style='border:1px solid black; border-collapse:collapse'>" &
"<tr style='background-color:#efefef'>
<th>ProductName</th>
<th> Amount </th>
<th> Price </th>
<th> ProductionDate </th>
</tr>
**<!--精华--> **
**<!--获取数据源-注意concat可以嵌套search或者filter函数,如果是单数据源, 要加单引号, 如果是函数和集合, 直接写-->**
<tr>" &
Concat('data source/formula',
"<td>" & ProductName & " </td>
<td>" & Amount & " </td>
<td>" & Price & " </td>
<td>" & ProductionDate & " </td>","</tr><tr>") &
"</table>"
</body>
</html>"