Phillip_Wild

Phillip_Wild

Contact Me
Online Status
Offline
Date Last Visited
‎10-08-2023 10:39 PM
Level 10
Joined the community 07-10-2014
Rank Icon Level 10
Global Lead, Marketing Technology
Melbourne, Australia
  • Email script - isEmpty() not working

    I'm trying to use an #if statement in Velocity to check whether a field is empty. As per Sanford's excellent article here, Marketo imports everything into Velocity as strings, so he suggests using $var.isEmpty() instead of switching between different methods based on data type.But when I use this st...

    image_type
    Discussions
    2910 0 4
  • Re: Get the Gold: Six Steps to Delete Bad Data

    Question for you Jeff....yes, if someone isn't engaging via email for 15 months it might be worth deletion, but given we can throw that email address to Facebook custom audiences and other channels these days, there might be an ability to win them over via another channel. And if email address is th...

    image_type
    Blogs
    11009 1 0
  • solved badge Re: Date Format Velocity Script

    Hey teamI'm trying something similar, but when I use the code given to Jim it's not working for me. Here's my code:#set ($listlength = ${abandonedCart_cList.size()}) #set( $lastIndex = $math.sub($listlength,1) )#set($str = $convert.parseDate(${abandonedCart_cList.get($lastIndex).serviceStartDate}, "...

    image_type
    Discussions
    3781 0 1
  • solved badge Re: with scripting not working

    Just to round this off, the above error around arrays is because I was using "Send Sample Email" instead of using a single flow action to test the scripting. Oops!

    image_type
    Discussions
    2625 0 0
  • Re: Velocity scripting - can only access the first element in Marketo ...

    Thanks so much Sanford. Outputting the entire array is a great way to test! I should have thought of that After some more testing, it seems that this error is purely related to the fact I was testing using "Send Sample Email" instead of Single Flow Actions. Lesson learnt! Phew. Very glad to see some...

    image_type
    Discussions
    1380 0 0
  • Velocity scripting - can only access the first element in Marketo Cust...

    I'm having trouble accessing anything other than the first element in a Marketo Custom Object through email scripting. I've tested using a few leads, and here's the behaviour I'm seeing. All leads had at least three entries in the relevant Marketo Custom Object:* ${MarketoCustomObject_cList.get(0).f...

    image_type
    Discussions
    1610 0 2
  • solved badge Re: with scripting not working

    Thanks again Sanford.I've solved the URL parameters issue - it was because of a strange redirect on our website. I've removed the need for the redirect and it works just fine.However, the size of the array is still giving me trouble. This line:#set ($listlength = ${abandonedCart_cList.size()}) Alway...

    image_type
    Discussions
    2625 0 1
  • solved badge Re: with scripting not working

    Hi SanfordI might have to revise this slightly...So here's the code I used:#set ($listlength = ${List.size()}) #set ($listlength = $listlength - 1 ) G Adventures Note I removed the line which sets the variables before I pass them through to the URL. I found using your solution above that using the notation $...

    image_type
    Discussions
    2625 0 3
  • solved badge Re: with scripting not working

    Thanks again Sanford!

    image_type
    Discussions
    2625 0 0
  • solved badge with scripting not working

    I'm having some trouble with an email script passing through a URL.#set($dossierURL = "www.gadventures.com/trips/${trips_cList.get($listlength).dossier}" )#set($imageLink = ${trips_cList.get($listlength).dossierImageURL} ) The image passes through just fine, but the link goes to something like th...

    image_type
    Discussions
    2865 0 6

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!
  • Affirm 50 Affirm 50 Earned on 12.21.21 Earned by 25 people Select to learn more
  • Applaud 250 Applaud 250 Earned on 11.11.21 Earned by 35 people Select to learn more
  • Give Back 400 Give Back 400 Earned on 11.02.21 Earned by 33 people Select to learn more
  • Boost 250 Boost 250 Earned on 6.29.21 Earned by 58 people Select to learn more
  • Affirm 25 Affirm 25 Earned on 5.27.21 Earned by 51 people Select to learn more
  • Validate 10 Validate 10 Earned on 5.26.21 Earned by 25 people Select to learn more
  • Unlock 2 Unlock 2 Earned on 4.26.21 Earned by 30 people Select to learn more
  • Builder Builder Earned on 2.19.21 Earned by 58 people Select to learn more
Public Statistics
Date Registered ‎10-07-2014 10:55 AM
Date Last Visited ‎10-08-2023 10:39 PM
Total Messages Posted 559
Likes Received 335