Template Variables

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • gr8rizwan
    Junior Member
    • Jul 2017
    • 1

    Template Variables

    When creating a new template I am using variable like {Person.name}, but when composing email using that template I don't see 'Person' in Parent dropdown. When email is sent {Person.name} is not rendered, Please guide on this. Thanks.
  • tanya
    Senior Member
    • Jun 2014
    • 4308

    #2
    Hello
    source file application/Espo/Services/EmailTemplate.php

    Person is set:
    - If entity related to email is instance of Person (Contact, User, Lead) (Entity related is getting from base by email address).
    - If parent of email is instance of Person

    Comment

    • wineprices
      Junior Member
      • Oct 2017
      • 1

      #3
      Please share the complete code.

      Comment

      Working...