Badges
Accepted Solutions
Likes Received
Posts
Discussions
Ideas
Blog Posts
Sanford Whiteman Can you please help me make this work?I feel like the code below is precisely what you have advised me to do, however, since tests still display incorrectly as they have before. Obviously, I've done something wrong but I am unable to identify and correct it.Please and thank you.#set...
Not rushing you, in the event you intended to reply, rather just making it clear I cannot move forward without your help. Here is my preview-by-list test result...
I'm sorry. I was wrong. I was not guessing intentionally - I can see the tree identifies the field as DMS Subscribed DateTime, however, rather than copying and pasting, this time I dragged that field into the script editor and it did read as $lead.DMSSubscribedDate.
Understood. You're right. I was thinking adding the "good" line and removing the "bad" line made sense BUT I should not be "thinking" as it is too dangerous. It is back to exactly as is with the new line added.The Velocity property names of the fields did not change when you changed the datatype; if...
Yes, that is, if you're going to convert a stringified DateTime (i.e., ISO8601 format) field into a Date, that's where you use the DateTime.I need to clarify. I actually meant - Do I simply just replace all $lead.DMSSubscribed with $lead.DMSSubscribedDateTime in the code? - NOT $lead.DMSSubscribedDa...
That was the full code - but now I have added those 7 lines of code at the top as well as "Los_Angeles" rather than "New_York" - which I assume is fine.It's also confusing $lead.DMSSubscribed and $lead.DMSSubscribedDate (and all the other pairs of values). The first is a Boolean ("1" or "" in Veloci...
Just following up with this in the event you missed it. Though enjoying Thanksgiving time off is more likely and well deserved. I have edited and used the Syntax Highlighter in my previous comment with the entirety of the VTL for your review.Thank you kindly and I hope you and yours have/had a very ...
Got it. I never knew how that was done in the community. This has been such an important lesson for me. Thanks. I edited my previous comment.
I've copied it but indents and spacing are off so I've also attached it as is via notepad.${display.list( $lead.entrySet(), "\u000a" )}#if( !$lead.DMSSubscribed.isEmpty() )#set( $calDMSSubscribed = $convert.toCalendar( $convert.parseDate( $lead.DMSSubscribed, $ISO8601, $defaultLocale, ...
So that's correct. I have the datatypes now correctly set. Checkmarked the Script Editor boxes for 'Subscribed' and 'Subscribed DateTime' for each product. Placed the token in an email. previewed-by-list and actually sent the email through a Smart Campaign but when received the token block is comple...