Available short tags in template manager

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ChrisSka83
    Senior Member
    • Apr 2023
    • 197

    Available short tags in template manager

    Hello all,

    is there somewhere a listing which shorttags are available in the template manager? -> /#Admin/templateManager

    I wanted to personalize the mail notifications a bit, e.g. Hello "UserName", but neither User.firstName, Username or similar is accepted.

    Too bad there is not the function like in EMailManager, where you can select the shorttags and just insert them.

    Is there something like that? I haven't found anything where I can find out what I can insert or what is accepted at all.​
  • Vadym
    Super Moderator
    • Jun 2021
    • 345

    #2
    Hi ChrisSka83,

    Try to use Hello {{userName}}.

    Perhaps the following threads will be helpful:

    Comment

    • ChrisSka83
      Senior Member
      • Apr 2023
      • 197

      #3
      Thanks for the link tips.

      The following short tag worked: {{assignedUserName}}

      Just a pity that there really isn't a listing somewhere where all the shorttags are broken down that work in TemplateManager.​

      Comment

      • ChrisSka83
        Senior Member
        • Apr 2023
        • 197

        #4
        Must correct myself here unfortunately. The short tag {{assignedUserName}} had worked only in my case. If another user got a reminder mail, my name was also in it, so not the one of the user.

        So keep trying, which shorttag works here.​

        Comment

        • lazovic
          Super Moderator
          • Jan 2022
          • 809

          #5
          Hi ChrisSka83,

          I'm afraid that in this case it is impossible to get the name of a specific recipient of an invitation email, since in fact, the information for this invitation in the case of a Meeting is taken from this Meeting fields (name, description, date start, date end, etc.). This is similar to working with PDF Templates.

          In this case, you can only get a list of names of all participants (users, contacts, leads) as follows (described here in the second example: https://docs.espocrm.com/user-guide/...ated-records):

          {{#each usersIds}}
          {{var this ../usersNames}}
          {{/each}}​
          {{#each contactsIds}}
          {{var this ../contactsNames}}
          {{/each}}
          {{#each leadsIds}}
          {{var this ../leadsNames}}
          {{/each}}
          ​​

          In general, you can learn more about customizing invitations here:​ https://www.espocrm.com/tips/events-emails.

          More about working with PDF Templates you can find here: https://docs.espocrm.com/user-guide/printing-to-pdf.

          Comment

          Working...