7 Replies Latest reply on Jul 5, 2018 5:43 PM by Sanford Whiteman

    How do you access the most recent item in a custom object?

    Connor Clausen

      We use custom objects to store data pertaining to our customers' homes.


      Since a customer could own more than one home, the result is multiple items (or homes) in the "propertyDetails" custom object.


      Whenever I use scripted email tokens to populate an email with this data, it uses the oldest item.


      Here's the Velocity script that Marketo uses by default:




      Can this script be changed to reference the most recent item's Street Address?


      Thanks in advance!