Table Inside a customer Field - How do display in Email the table? | Community
Skip to main content
Abaran
Level 5
September 13, 2019
Question

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

  • September 13, 2019
  • 1 reply
  • 3006 views

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?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

1 reply

SanfordWhiteman
Level 10
September 13, 2019

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

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
AbaranAuthor
Level 5
September 24, 2019

Thanks Sanford. That worked perfectly.

SanfordWhiteman
Level 10
September 24, 2019