Why is Velocity outputting a blank in my link?
Hello all,
I took over an instance where somebody obviously followed Sanford's blog here:
https://blog.teknkl.com/marketo-json-fields-in-velocity/
And most things work beautifully. But one thing is not and that is this piece:
#if( $TriggerObject.flexibileFormContent.isEmpty() )
#set( $TriggerObject.flexibileFormContent = '[]' )
#end
#set( $CoursesSelected = '#set( $CoursesSelected = ' + $TriggerObject.flexibileFormContent + ' )' )
#evaluate( $CoursesSelected )
<a href="https://${Course[0].TeamsLink}">Teilnahme-Link</a>
Here's what this script creates on the email:
https:// Teilnahme-Link
Where does this blank after // come from that obviously kills my link? ${Course[0].TeamsLink} would render a link not starting with https://
Thanks!
Michael