Template Manager

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • MicKress
    Senior Member
    • Aug 2017
    • 105

    Template Manager

    Hi, in V5.5.0 you integrated a template manager. This is a great improvement, thanks a lot. My question: can I use fields from related entities? e.g. I have a related entity "location" to the entity "meeting". Is it possible to use the adress content from entity "location" in the template "Invitation:: Meeting" or is it only possible to use fields directly from the entity "meeting"? Kind regards Michael
  • yuri
    Member
    • Mar 2014
    • 8440

    #2
    Hi Michael,

    In most cases it's disabled, in invitations particularly. It's made for the sake of performance.

    You can change the last argument from true to false:
    https://github.com/espocrm/espocrm/b...tions.php#L148
    but changes can be lost after an upgrade.

    Or you can create a foreign fields for Meeting and then use them in your template.

    I will consider to make it available for Invitations.
    If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

    Comment

    • MicKress
      Senior Member
      • Aug 2017
      • 105

      #3
      Hi, I did it with foreign fields, it works fine. Is there a similar possibility to {{#if isUser}} for Contacts and Leads? That would be fine to send different invitations. I tried it, bit it didn‘t work ...

      Comment

      Working...