Skip to main content
Level 2
May 7, 2020
解決済み

Velocity Scripting in a Different Partition

  • May 7, 2020
  • 2 の返信
  • 1877 ビュー

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) 

このトピックへの返信は締め切られました。
ベストアンサー SanfordWhiteman

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.

 

2 の返信

SanfordWhiteman
Level 10
May 7, 2020

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.

 

walsjam作成者
Level 2
May 21, 2020

Thanks Sanford, this worked.