Unwanted $ in front of the Token | Community
Skip to main content
Angie_Zarate
Level 2
September 11, 2017
Question

Unwanted $ in front of the Token

  • September 11, 2017
  • 2 replies
  • 3502 views

I have my token " {{my.SideBar_Headline}}" in the email with the html of <p>{{my.SideBar_Headline}}</p>.  In the preview it looks fine but it is generating in the sample as:

Why is it doing this. I used this template a few days ago with no issues and now all of a sudden starting on Friday it is doing this.

Angie

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

2 replies

SanfordWhiteman
Level 10
September 11, 2017

If that's a Velocity token, you can't use Send Sample to test it. Use a real email.

Angie_Zarate
Level 2
September 11, 2017

Thanks but in this case. I do not want the $ and did not program it there. It just is showing up instead of the token text.

Angie

SanfordWhiteman
Level 10
September 11, 2017

If it's there in Send Sample... then you shouldn't be using Send Sample (as is well-known with Velocity tokens). Why would you expect it to look "right" in a context where it's known to not work? I don't understand.

Akshay_Pant
Level 4
September 11, 2017

Hi Angie Zarate,

Have you used any variable for this name ? This is the syntax of declaring the variable which we have defined in the <head> section.

Regards,

Akshay Pant

SanfordWhiteman
Level 10
September 11, 2017

${} is standard Velocity formal reference notation, used in several places.