Hello,
I've been asked by a colleague to help out with some Velocity Scripting around capitalization in someones first name. We work in different partitions in the same Marketo instance and he knows the scripting I've used has worked for my emails. When I implemented the same scripting into his email in a different partition, the first name does not want to render.
Here is my script.
#set ($fname = ${lead.FirstName.toLowerCase()})
#set ($lname = ${lead.LastName.toLowerCase()})
$display.capitalize($fname)
It works fine in my partition but the other I get an error that reads $display.capitalize($fname)
Solved! Go to Solution.
Sounds like you don't have the fields checked off in the tree in Script Editor.
But please always highlight code using the Syntax Highlighter so it's readable.
Thanks Sanford, this worked.