Guitarrista82

Guitarrista82

Contact Me
Online Status
Offline
Date Last Visited
Tuesday
Level 6
Joined the community 11-06-2021
Rank Icon Level 6
Marketing Operations Analyst
Scottsdale, AZ
  • solved badge Re: Modifying field values using velocity script?

    I had tried that before--entering the code exactly as you provided--but it was not rendering in the email. I just tried again, and it worked finally. Thank you for your help!

    image_type
    Discussions
    3558 0 10
  • solved badge Re: Modifying field values using velocity script?

    I believe that I am following you but not understanding how to output the new variable. The #set is setting a new variable that removes the "Marriott -" prefix and then displays everything that appears after that. For example, if the value for $lead.subPartner is "Marriott - Presidential," the new v...

    image_type
    Discussions
    3572 0 12
  • solved badge Re: Modifying field values using velocity script?

    Awesome, thank you! This is the code that I entered: #set( $valueWithoutMarriottPrefix = $lead.subPartner.replaceFirst("Marriott - ","") )Chairman's Club I tested using a contact whose Sub Partner is "Marriott - Chairman's Club". Here's what I was able to see in the email: How would I set up ...

    image_type
    Discussions
    3580 0 14
  • solved badge Re: Modifying field values using velocity script?

    The $valueWithoutMarriottPrefix should be output between "As a" and "member" as shown in the copy below. The {{my.Sub Partner Token Test:default=edit me}} token is what I created to contain the script that you provided. As a {{my.Sub Partner Token Test:default=edit me}} member, you get {{lead.enrol...

    image_type
    Discussions
    3588 0 16
  • solved badge Re: Modifying field values using velocity script?

    I will circle back to my original question. I used the code you provided, but it removed the "Marriott - Chairman's Club" content when I previewed the email using a contact's email address, instead of just showing "Chairman's Club". For example, I entered this person in (see first screenshot below)...

    image_type
    Discussions
    3592 0 18
  • solved badge Re: Modifying field values using velocity script?

    Yes, there is a Sub Partner name that is just "Marriott" with no Marriott - prefix.

    image_type
    Discussions
    5036 0 20
  • solved badge Re: Modifying field values using velocity script?

    Sorry about that! I copied/pasted your code directly into the script. It appears that the entirety of the Sub Partner name is being removed now, for some reason: Where the token should appear, it's showing as blank: "As a (blank) member, you get...". I only previewed contacts that have the "Marriot...

    image_type
    Discussions
    5042 0 22
  • solved badge Re: Modifying field values using velocity script?

    Thank you Sanford. I am seeing this error when I try to preview how the text will appear in an email. This is how I entered the code in the email script token I created:#set( $valueWithoutMarriottPrefix = ${lead.subPartner}.replaceFirst("Marriott - ","") )#end Any ideas what the issue might be? Tha...

    image_type
    Discussions
    5053 0 24
  • solved badge Re: Modifying field values using velocity script?

    Hi Sanford, I was able to fix the sourcing issue, but now we have a request to modify the field values. Currently, the text appears as "Marriott - Executive," "Marriott - Presidential," "Marriott - Chairman's Club," etc. Our team member would instead like the text to appear in emails without the "M...

    image_type
    Discussions
    5058 0 26
  • solved badge Re: Need help formatting text for mobile

    Hi Dave! The link should work now...I just needed to approve the page: http://promos.ovstravel.com/IM---Operational-Testing-Program_SMS-Test-Landing-Page.html One note is that I did resize the logo on the image, but it's not ideal. It looks really small now so wondering if there's another option, li...

    image_type
    Discussions
    4649 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!
  • Ignite 50 Ignite 50 Earned on 11.30.23 Earned by 30 people Select to learn more
  • Ignite 40 Ignite 40 Earned on 3.09.23 Earned by 42 people Select to learn more
  • Give Back 100 Give Back 100 Earned on 2.14.23 Earned by 107 people Select to learn more
  • Springboard Springboard Earned on 9.20.22 Earned by 210 people Select to learn more
  • Boost 10 Boost 10 Earned on 9.13.22 Earned by 709 people Select to learn more
  • Ignite 30 Ignite 30 Earned on 5.06.22 Earned by 61 people Select to learn more
  • Affirm 5 Affirm 5 Earned on 3.30.22 Earned by 152 people Select to learn more
  • Applaud 25 Applaud 25 Earned on 2.23.22 Earned by 448 people Select to learn more
Public Statistics
Date Registered ‎06-11-2021 10:44 AM
Date Last Visited Tuesday
Total Messages Posted 216
Likes Received 14