Table in Email Body
Comments
-
We don't have the ability to directly email a list of entities in a table structure in emails. You will need to dynamically build the HTML for the table and then use that on the Email step. I would recommend using the Custom Merge [NVelocity] step to build the table's HTML. Then pass the results into the body of your email.
In the NVelocity step, you will need to provide the HTML template you want to be used. To include variables, select Use Brackets and include any variables as
${variable}
<div> <table id="requestContents"> <colgroup> <col style="width: 128px"> <col style="width: 136px"> <col style="width: 84px"> <col style="width: 113px"> <col style="width: 123px"> </colgroup> <tr> <th>Column 1</th> <th>Column 2</th> <th>Column 3</th> <th>Column 4</th> <th>Column 5</th> <th>Column ${Number}</th> </tr> </table> </div>
In the Send Email step, we will want to Merge HTML Text for the body of the email and pass in the output we got from the NVelocity step.
- Custom Merge [NVelocity] step: https://documentation.decisions.com/step-library/docs/custom-merge-nvelocity
Howdy, Stranger!
Categories
- 4.2K All Categories
- 68 General
- 11 Training
- 203 Installation / Setup
- 1.1K Flows
- 107 Rules
- 262 Administration
- 212 Portal
- 494 General Q & A
- 698 Forms
- 334 Reports
- 3 Designer Extensions
- 47 Example Flows
- 52 CSS Examples
- 1 Diagram Tile
- 7 Javascript Controls
- 180 Pages
- 5 Process Mining
- New Features
- 179 Datastructures
- 69 Repository
- 221 Integrations
- 28 Multi-Tenant
- 27 SDK
- 80 Modules
- 56 Settings
- 25 Active Directory
- 12 Version 7
- 35 Version 8
- 83 Lunch And Learn Questions