The link you are referring to recommends testing with a sample email. I guess you cannot preview a script token.
Did you read the big pull quote in my post?
I don't see View As: Lead Detail as an option. The only View As options I see are: Default, Lead, List.
By the way, what's the link to your post with the big pull quote?
I did try putting myself in a static list and using the email script token that Sanford created, which consisted of: ${lead.FirstName}
But it doesn't populate on preview.
If you don't see what Nicholas is seeing, and you're sure you're looking in the same part of the editor, maybe you should open a case.
He was referring to the documentation which backs up Jamie's original response.
NOTE: The original version of this response referred to Editor 2.0, but this works in Editor v1 as well -- for me at least.
I bet that is because you haven't got the checkbox selected for First Name in the email script editor.
Denise Greenberg Nicholas Manojlovic this discussion spurred me to put up a blog post I've been wanting to do for a long time: http://blog.teknkl.com/hide-email-script-my-tokens-in-marketos-web-page-view/
oh my god.. I didn't know that..
That is definitely getting priority on the list. I am finding myself using email scripts a lot.
Welcome (again) to "Things only 2 people in the world know about."
You were right - but now it's checked and it makes no difference. Do I need to put something else in the email script token besides this?
${lead.FirstName}
@Sanford - I'm definitely using Email 2.0.
It seems to be a typo in the documentation. It should be:
"You can also use the Email Preview to test your script. To do so, you must select View As: Lead Detail, and OR select a lead from an available static list. This has the added benefit of outputting any exceptions that may have occurred during script execution:"