Charles_THIERY

Charles_THIERY

Contact Me
Online Status
Offline
Date Last Visited
‎06-08-2021 07:01 AM
Level 3
Joined the community 15-04-2016
Rank Icon Level 3
Paris, France
  • solved badge Email Script - construct variable names dynamically in velocity

    HelloI wanted to know if there is an expression in order to do this:#set( $TP = ["TP_A", "TP_B"])#set( $TP_A = ["Button A", "https://www.wonderfulworld.com"])#set( $TP_B = [@"Button B", "https://www.hellworld.com"])#foreach( $asset in $TP ) #if($lead.notengagedAssets.matches("(?i)(.*)(^|;)\s*${a...

    image_type
    Discussions
    1584 0 1
  • solved badge Re: Email script - ${lead.Interest} contains "A"

    Hello Sanford,I got your point and therefore I want to reduce my code as the minimum length possible and try to concentrate the editable section of my code on the top of my script. I've seen your post on http://blog.teknkl.com/marketo-doesnt-like-velocimacros-for-output-but-define-is-fine/ but not ...

    image_type
    Discussions
    2851 0 1
  • solved badge Re: Email script - ${lead.Interest} contains "A"

    Hello Sanford,Thank for this answer. I really need to dig into your proposal as it turns I have to create more complex dynamic email structure.BR,Charles

    image_type
    Discussions
    2851 0 0
  • solved badge Re: Email script - ${lead.Interest} contains "A"

    Hi Sandford,What is the way to make the negative test of what I have previously asked and with ";" instead of "," please? I thought by Adding "!" at the beginning would work... but it seems to not working:#set( $item = "Performance" ) #set( $item2 = "Talent" )#if( !$lead.Interest__c.matches("(?i)(.*...

    image_type
    Discussions
    2851 0 4
  • solved badge Re: Email script - ${lead.Interest} contains "A"

    Hello Sandford,Thank you for your answer. it works perfectly as long as I have the delimiter "," with or without space next to it.I'm just wondering how it would have been possible for me to find your answer on my own. Do you have a documentation or website to recommend me please?I'm really amazed b...

    image_type
    Discussions
    5835 0 6
  • solved badge Re: Email script - ${lead.Interest} contains "A"

    Still not working... An error occurred when procesing the email Body!Encountered "{" near

      #if(${{lead.Interest__c}}.indexOf('Performance'))
    • Performance
    • #end

    image_type
    Discussions
    5835 0 10
  • solved badge Re: Email script - ${lead.Interest} contains "A"

    Hi Geoff,Thanks for the quick reply but I got this error:An error occurred when procesing the email Body!Lexical error, Encountered: "i" (105), after : "." at *unset*[line 90, column 25] near

      #if(${lead.Interest}.indexOf("Performance"))
    • Performance
    • #end
    Maybe, I should clarify what I'm looking for:M...

    image_type
    Discussions
    5835 0 12
  • solved badge Email script - ${lead.Interest} contains "A"

    Hello,I don't manage to find on the documentation a way to use VTL in order to make a #if conditions for searching a specific value coming from a Marketo field.Does anybody could help me on this please?eg:

      #if(${lead.Interest}.contains("Performance"))
    • Performance
    • #end
    BR,Charles

    image_type
    Discussions
    6593 0 14

Top Badges Earned

Customize up to 8 badges at the top of your trophy case for all other Community members to see!Customize up to 8 badges at the top of your trophy case for all other Community members to see!
  • Seeker Seeker Earned on 4.19.21 Earned by 681 people Select to learn more
  • Engage 1 Engage 1 Earned on 3.04.21 Earned by 834 people Select to learn more
  • Ignite 1 Ignite 1 Earned on 3.04.21 Earned by 4267 people Select to learn more
  • Give Back 1 Give Back 1 Earned on 3.04.21 Earned by 4367 people Select to learn more
  • Give Back 10 Give Back 10 Earned on 3.04.21 Earned by 719 people Select to learn more
  • Ignite 3 Ignite 3 Earned on 3.04.21 Earned by 1175 people Select to learn more
  • Give Back 3 Give Back 3 Earned on 3.04.21 Earned by 1978 people Select to learn more
  • Ignite 5 Ignite 5 Earned on 3.04.21 Earned by 662 people Select to learn more
Public Statistics
Date Registered ‎04-15-2016 02:41 AM
Date Last Visited ‎06-08-2021 07:01 AM
Total Messages Posted 30
Likes Received 10
Likes given to