Print a table using power automate

共计 454 个字符,预计需要花费 2 分钟才能阅读完成。

In Power Automate, we can create a table easily with “Create HTML table” action. However, the print table doesn’t have border so it looks not pretty.
E.g: List all won and lost opportunities in CRM.

Print a table using power automate

We could add an extra action “Compose” to give the table with border:
by applying replace function to output body from previous step, replace table tag with bordered table tag:
replace(body('Create_HTML_table'),'<table>','<table border="1" style="border-collapse:collapse">')

Print a table using power automate

Then add Compose output in email content:

Print a table using power automate

Fixed result:

Print a table using power automate
正文完
 0
评论(没有评论)
验证码