Creating Templates
Creating a template is a prerequisite of creating an Action.
When creating new templates you should be on the Manage TSM page and inside the ‘Templates’ tab, for support with navigating here see Templates.
You can create a new TSM template by selecting the ‘Add’ button on the left sidebar.
![](../__attachments/886702145/Screenshot%202021-11-01%20at%2012.04.40.png?inst-v=9c258bff-82e3-42e4-91c9-90678b79a3df)
This will open the Template editor - this imitates the layout you may see when creating an email. The Template Name is a standard text field.
![](../__attachments/886702145/Screenshot%202021-11-01%20at%2012.13.29.png?inst-v=9c258bff-82e3-42e4-91c9-90678b79a3df)
The other components of the template include:
Subject
Body
Tables
Images
Data Objects
Subject
The SMS/E-Mail Subject field can be a simple text subject such as ‘Exit POI Alert’, or can be as specific as you require. To add data objects to your Subject, click within the subject textbox and toggle the right ‘DATA’ sidebar open.
![](../__attachments/886702145/Screenshot%202021-11-01%20at%2012.20.56.png?inst-v=9c258bff-82e3-42e4-91c9-90678b79a3df)
This will open a list of all the data objects you can use in the subject or email body. Here I am selecting Fleet Number.
![](../__attachments/886702145/Screenshot%202021-11-01%20at%2012.43.04.png?inst-v=9c258bff-82e3-42e4-91c9-90678b79a3df)
This will appear in the Subject text box as [FLEETNUMBER]
![](../__attachments/886702145/Screenshot%202021-11-01%20at%2012.45.29.png?inst-v=9c258bff-82e3-42e4-91c9-90678b79a3df)
You can also add standard English text between each data object to build an informative subject line.
![](../__attachments/886702145/Screenshot%202021-11-01%20at%2012.45.34.png?inst-v=9c258bff-82e3-42e4-91c9-90678b79a3df)
If this template was used, it would display a subject line of
![](../__attachments/886702145/Screenshot%202021-11-01%20at%2014.48.46.png?inst-v=9c258bff-82e3-42e4-91c9-90678b79a3df)
Body
Alike to creating the Subject, the Body of the template can make use of the data object to build up the information you are interested in seeing when a rule is triggered. The Input field of the body also has additional formatting options, such as adding tables, images or hyperlinks.
![](../__attachments/886702145/Screenshot%202021-11-01%20at%2012.51.20.png?inst-v=9c258bff-82e3-42e4-91c9-90678b79a3df)
Tables
A good way of formatting the template is through tables which can be added from the toolbar of the body editor.
![](../__attachments/886702145/Screenshot%202021-11-01%20at%2013.16.55.png?inst-v=9c258bff-82e3-42e4-91c9-90678b79a3df)
This will insert a blank table of 5 rows.
Images
Within the table or page, you can also add images such as company logos.
![](../__attachments/886702145/Screenshot%202021-11-01%20at%2013.19.55.png?inst-v=9c258bff-82e3-42e4-91c9-90678b79a3df)
You will be prompted for the ‘Source’ of your image, which will be a URL link to the image. Once the relevant fields are filled you can now save the image.
![](../__attachments/886702145/Screenshot%202021-11-01%20at%2013.22.21.png?inst-v=9c258bff-82e3-42e4-91c9-90678b79a3df)
Your selected image will appear in the body. You can now align the image to the centre of the table or page.
![](../__attachments/886702145/Screenshot%202021-11-01%20at%2013.25.41.png?inst-v=9c258bff-82e3-42e4-91c9-90678b79a3df)
Data Objects
You can add data objects to the Body in the same way as whilst creating the Subject. Firstly click into the area of the table or page you want to insert into, then open the ‘DATA’ right sidebar and select the information you want to add.
![](../__attachments/886702145/Screenshot%202021-11-01%20at%2014.18.55.png?inst-v=9c258bff-82e3-42e4-91c9-90678b79a3df)
Now the data object has been inserted into the table you can format it within the format menu on the toolbar.
![](../__attachments/886702145/Screenshot%202021-11-01%20at%2014.20.13.png?inst-v=9c258bff-82e3-42e4-91c9-90678b79a3df)
The template shown makes use of tables, images and data objects.
![](../__attachments/886702145/Screenshot%202021-11-01%20at%2013.12.28.png?inst-v=9c258bff-82e3-42e4-91c9-90678b79a3df)
Once you have finished editing the name, subject and body of the template you can save the template using the ‘Save’ 💾 button on the toolbar.
![](../__attachments/886702145/Screenshot%202021-11-01%20at%2014.56.42.png?inst-v=9c258bff-82e3-42e4-91c9-90678b79a3df)
The template will now appear in the left sidebar.
![](../__attachments/886702145/Screenshot%202021-11-01%20at%2014.58.56.png?inst-v=9c258bff-82e3-42e4-91c9-90678b79a3df)
Troubleshooting
For any issues or errors that have not been solved please Contact Axscend Support.