Forum Discussion
cstewart
5 years agoFormer Employee
@wpenfold It is certainly possible to both use the table data, and a set of other fields in the email template.
I have an email sender which uses $group for the table, and then goes on to use a set of other fields (my summary data) in a footer. Those other fields are at the root level in my input document.
- cstewart5 years agoFormer Employee
This is my template body:
"<!DOCTYPE html> <html> <head> <title>My Title</title> <style type=\"text/css\"> table.Snap {background-color:transparent;border-collapse:collapse;width:50%;} table.Snap th, table.Snap td {text-align:center;border:1px solid black;padding:5px;} table.Snap th {background-color:AntiqueWhite;} </style> </head> <body> <table class=\"Snap\" ALIGN='CENTER'> </table> <h2>My Extra Details</h2> <table> <tr></tr> <tr><td>FIrst Line in my Custom Table</td><td>" + $One + "/ " + $Two + "/ " + $Total + "</td></tr> <tr><td>Second Line</td><td>" + $Three + "/ " + $Four + "</td></tr> <tr><td>Third Line</td><td>" + $Five + "/ " + $Six + "/ " + $TotalThree + "</td></tr> </table> <br><H2>A load of other stuff</H2><br>" + $SummaryChanges + " </body> </html>"