Table Inside a customer Field - How do display in Email the table?

Abaran
Level 5

Table Inside a customer Field - How do display in Email the table?

We are sending emails to people that have data coming from SFDC in a custom field that look like this. Easchie leads has different values we want to present those as a table.

<table><tr><td>Access Code</td><td>Remaining Uses</td><td>Start Date</td><td>End Date</td></tr><tr><td>hh7zh-lgyal</td><td>2.0</td><td>2018-12-31 08:00:00</td><td>2019-12-30 08:00:00</td><td></table>

How do we get the email, to display the table? 

 

When we put in the token inside the email, it does not render the table. It just show as string of text.

It is not an option to create many fields with individual values as this is coming from another system into SFDC and then to MKTO.

Is there some addtional HTML we need to add into the field to render or inside the code of the email?

3 REPLIES 3
SanfordWhiteman
Level 10 - Community Moderator

Re: Table Inside a customer Field - How do display in Email the table?

Simply create a Velocity token that outputs that field. Make sure to select that field on the right-hand side of course.

pastedImage_1.png

Velocity sees and outputs content literally (not HTML-encoded).

P.S. I'm of course assuming you can't turn off HTML encoding for this field as a whole in Admin.

Abaran
Level 5

Re: Table Inside a customer Field - How do display in Email the table?

Thanks Sanford. That worked perfectly.

SanfordWhiteman
Level 10 - Community Moderator

Re: Table Inside a customer Field - How do display in Email the table?