3 Replies Latest reply on Feb 25, 2017 9:23 PM by Sanford Whiteman

    How to use Salesforce Custom Objects in an Email

    Edward Tang

      I have created an email script token on the program and moved my emails under this program.

      I have checked the Coupons Remaining object to allow the program/email to use the data.

      The email script token currently reads:

      #set($variable = ${Renewal_Notices__cList.get(0).Coupons_Remaining__c})

      $variable

       

      From what I read on the email scripting documentation, this is all that I need to do, but when I send myself a test "$variable" is the only thing that shows up.

       

      Is there something I am missing?