noorgramke

noorgramke

Contact Me
Online Status
Offline
Date Last Visited
‎04-06-2023 03:23 PM
Level 1
Joined the community 09-05-2022
Rank Icon Level 1
  • solved badge Re: Velocity - list values from a field in custom object

    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...

    image_type
    Discussions
    1904 0 0
  • solved badge Re: Velocity - list values from a field in custom object

    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 ...

    image_type
    Discussions
    1920 0 3
  • solved badge Re: Velocity - list values from a field in custom object

    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...

    image_type
    Discussions
    4219 0 5
  • solved badge Re: Velocity - list values from a field in custom object

    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!

    image_type
    Discussions
    4383 0 7
  • solved badge Re: Velocity - list values from a field in custom object

    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?

  • ${display.list($allName,", ")}
  • or
  • ${appRecord_cL
  • ...

image_type
Discussions
4406 0 11
  • solved badge Velocity - list values from a field in custom object

    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...

    image_type
    Discussions
    4467 0 13
  • 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!
    • Give Back 5 Give Back 5 Earned on 4.04.23 Earned by 1283 people Select to learn more
    • Applaud 5 Applaud 5 Earned on 4.04.23 Earned by 1842 people Select to learn more
    • Give Back 3 Give Back 3 Earned on 4.04.23 Earned by 1977 people Select to learn more
    • Validate 1 Validate 1 Earned on 3.31.23 Earned by 687 people Select to learn more
    • Give Back 1 Give Back 1 Earned on 3.31.23 Earned by 4367 people Select to learn more
    • Ignite 1 Ignite 1 Earned on 3.31.23 Earned by 4266 people Select to learn more
    Public Statistics
    Date Registered ‎05-09-2022 09:41 AM
    Date Last Visited ‎04-06-2023 03:23 PM
    Total Messages Posted 6
    Likes given to