In this article, we'll list the global variables that can be inserted into any email template in addition to the fields that are specific to each system area.
Think of a variable as a placeholder - a space into which relevant information will be inserted when the email is triggered. Note that variables are unique to each system area. For example variable {1} for an Event template, will contain different information to variable {1} for a Course template.
In addition to the variables specific to each system area, some global variables are also available which can be inserted into any template*. We'll list all the global variables in this article.
For a full list of all the email templates that are sent by Learn LMS, view the article Email templates: content, triggers, and variables.
*with the exception of the EventBookingBookedUserExchange template
Field |
Description |
{ContextType} | This will be the vocabulary term for the context of each email, e.g. ‘Event’ or ‘Lesson’. Each template will label its own context type. There are 2 variations of this variable: {ContextTypeUpper}: Upper case context type, e.g. ‘EVENT’ {ContextTypeLower}: Lower case context type, e.g. ‘event’ |
{UserFirstname} | First name of the email recipient |
{UserLastname} | Last name of the email recipient |
{UserFullname} | The first and last name of the email recipient, separated by a single space |
{UserEmail} | Email address of the email recipient |
{UserName} | User name of the email recipient |
{FromFirstname} | First name of the email sender |
{FromLastname} | Last name of the email sender |
{FromFullname} | The first and last name of the email sender separated by a single space |
{FromEmail} | Email address of the email sender |
{SystemName} | The system name as defined in the LMS vocabulary |
{TeamName} | The team name as defined in the LMS vocabulary |
{ObjectGuid} | The internal LMS identifier for the context item |
{LMSURL} | Web address for the Learning Management System |
{LongDate} | The date at which the email was sent, in long format, e.g. ’07 May 2025’ |
{ShortDate} | The date at which the email was sent, in short format e.g. ‘07/05/2025’ |
{LongTime} | The time at which the email was sent – In long format e.g. ’11:46:36’ |
{ShortTime} | The time at which the email was sent – In short format e.g. ’11:46’ |
{ObjectGuid} | The internal LMS identifier for the context item |
Sometimes the data that replaces the variables is empty, e.g. the address for an event, or the description for a lesson. For plain text emails if any variable in a line is empty then the entire line is removed from the generated email. For html emails, if all the variables in a <div>…</div>, <span>…</span>, <p>…</p>, or <tr>…</tr> section are empty then the entire section is removed from the generated email.
Get deeper learning in The Academy
View 'Mastering email notification templates & configuration' in the Academy to learn how to customise notifications, see real-world examples, and troubleshoot common support queries.
View 'Engage your learners: think like a marketeer!' in the Academy to find out about learner engagement, how to think like a marketeer, and what's important for strategy maintenance.
The Academy is your forever free learning hub for Kallidus products including live events, eLearning videos, and more. If you're new to The Academy or know someone who is missing out on free learning, contact your Customer Experience Manager or the Support Team to sign up today!
Discover the latest insights, tips and industry news on the Kallidus blog.
Comments
0 comments
Please sign in to leave a comment.