Hi Greg - we use program tokens to display the current year in our email footer snippet:
...even though the email isn't physically located in a program (but the "send" smart campaign is).
| Subject | Author | Rating | Kudos | Posted | |
|---|---|---|---|---|---|
|
|
Anonymous
| 0 | 03-01-2018 08:08 AM | ||
| 0 | 03-01-2018 10:02 AM | ||||
| 1 | 03-01-2018 10:40 AM | ||||
| 0 | 03-01-2018 10:59 AM | ||||
|
Anonymous
| 0 | 03-01-2018 10:39 AM |
Hello,
I need to display a currency database value in an email snippet. I've inserted this value as a token. However, when I send my test emails, trailing zeroes are eliminated.
For instance:
I understand there are velocity scripting solutions to format this number. However, I don't think you can use velocity script tokens in a snippet? Is there a way to have the token just be displayed as it appears in the database?
I'm thinking I may need to re-create the entire snippet logic in a velocity script?
Solved! Go to Solution.
Hi Greg - we use program tokens to display the current year in our email footer snippet:
...even though the email isn't physically located in a program (but the "send" smart campaign is).
Hi Dan,
Nice one. Therefore the idea above is useless, then. I was trusting it. The Buffet Formula : going to bet smarter than you woke up.
If a program token works in a snippet, then a velocity one should as well.
-Greg
Thanks for your response - I ended up just making that field a string. While it's not great if I ever need to run operational logic against the value, this program didn't require it.