Friendly Time Format Options for Velocity Scripting Salesforce Custom Field | Community
Skip to main content
Adrian_Bivens
New Participant
July 26, 2021
Question

Friendly Time Format Options for Velocity Scripting Salesforce Custom Field

  • July 26, 2021
  • 1 reply
  • 1024 views

We are not familiar with velocity scripting and are trying to understand how we can format Time fields in our velocity token.

 

We are referencing a Salesforce custom field on the Case object.

 

We currently have this much completed:

#if( !$Case__cList.isEmpty() ) #set( $sortedCase__cList = $sorter.sort($Case__cList,"CreatedDate:desc") ) #set ($latestSortedCase = $sortedCase__cList[0]) ${latestSortedCase.Meeting_Time__c} #end

 

 

Any help is appreciated.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

1 reply

SanfordWhiteman
New Participant
July 26, 2021
Have you read the seminal post on Velocity days and times?

https://blog.teknkl.com/velocity-days-and-weeks/