Badges
Accepted Solutions
Likes Received
Posts
Discussions
Ideas
Blog Posts
Thank you both so much!! 😭 Got it to work with the code below! #set( $defaultTimeZone = $date.getTimeZone().getTimeZone("America/New_York") )#set( $defaultLocale = $date.getLocale() )#set( $calNow = $date.getCalendar() )#set( $ret = $calNow.setTimeZone($defaultTimeZone) )#set( $calConst = $field.in...
Hey Darshil, That worked!! For my own reference, if we're trying to show two different fields, for example, $Record.Title along with $Record.Name, do I have to loop it separately? Or can I add it together? #set ($result = $names.add($Record.Name || $Record.Title)) Edit: I think I got it to work by ...
Hi Darshil & Sanford,I have another question that you might be able to help with. I'm trying to show the list if the count is more than 1. If there is only one record, I want it to be formatted differently. When I added the code below, the list is not showing all the names, it only shows one. I've t...
Ahh it works now!! I had some html in the token that caused some issues but I've removed them. Now all the values are populating in the body copy!Really appreciate your help and patience, Darshil and Sanford. You are both amazing, thank you so much!
Thank you so much Darshil for your help! 🙌 I'm still stuck on how to display a bulleted list of ${Record.Name} in the past 12 hours? I saw something in this post but unsure how to apply it to my Velocity script. Would it need to be something like this?
Hello there! I'm new to Velocity and need some help. I'm trying to list all the names of approved applications within the last 12 hours in an email. We have a custom object with approved timestamp and the name of the application. #set ($sortedUpdated = $sorter.sort($appRecord_cList,"ApprovalTimes...