Version 7.4 and higher
There are different types of notification messages, like an appointment confirmation, an appointment reminder, or an invitation for making an appointment. The content is different for all these messages, which is why for each message a different template should be created. In addition, separate templates are required for text messages, email messages and letters – even if the content is the same.
During the actual generation of a message, the template is filled in specifically assigned spots with specific properties (‘elements’) of the appointment, which will result in a personal message. Conditions can be used to make the message more ‘beautiful’. For example, a male client can be addressed with ‘sir’ and a female client with ‘madam’. Finally, there are several possibilities for styling the text in emails and letters. The text in text messages cannot be styled. The page Example templates shows a number of example templates.
Naming a new template
Notifications are based on the HTML format and can be created in – for example – Notepad. Different file extensions are used to indicate the difference between templates for text messages, emails and letters:
- Text message templates: .sms.cshtml
- Email templates: .html.cshtml
- Letter templates: .letter.cshtml
When the template is saved, the file name should consist of the template name, followed by the required extension. For example: ‘Appointment-confirmation-general.letter.cshtml’. When the template is then added to Serviceware, the application will understand which type of template it concerns, based on the file extension.

