Creating formatted e-mail notification templates

This recipe discusses the steps required to create a rich text formatted e-mail template.

Getting ready

This procedure requires you to have a copy on Microsoft Word 2007 or above installed. You must be in the SCSM Administrator role and have the SCSM console open.

We will use an incident notification as an example. We will create a template for sending the affected user the following incident details:

  • The ID of the Incident
  • Affected users name
  • Title
  • Description
  • Status
  • Priority

How to do it...

The following steps will guide you through the process of how to create an e-mail notification template:

  1. Create a new Word document and design the format of your notification e-mail with the details of the properties to be sent, using new lines to separate each property:

    How to do it...

  2. Save the file as a Web Page, Filtered (*.htm, *.html) file:

    How to do it...

  3. Navigate to the file location. Open the file with Notepad and copy the text.
  4. Navigate to SCSM Console | Administration | Notifications | Templates and select Create E-Mail Template from the Tasks workspace:

    How to do it...

  5. Configure the following for the general settings:
    • Notification template name: Packt End User Notification
    • Description: HTML formatted message for new Incidents
    • Target class: Click on Browse... and select Incident
    • Management pack: Select a custom management pack (for example, PON - Incident - Notification Templates)
    • Click on Next:

      How to do it...

  6. Tick the Send as HTML checkbox and type a descriptive message in the Message subject field.
  7. Paste the details from Step 3 into the Message body field:

    How to do it...

  8. Find the various places where you want to insert the properties from the Getting ready section of this recipe. Click on Insert... to select the property and click on Add:

    How to do it...

  9. Repeat the previous step for all properties in the scope:

    How to do it...

  10. Click on Next. Verify the details and click on Create.
  11. The template is created for use and can be selected for incident class notifications, for example, sending an e-mail to the affected user:

    How to do it...

How it works...

By default, the e-mail notification templates you create in the SCSM console do not get formatted as HTML. This applies even if you select the Send as HTML option.

You have two choices if you want the message to be in true HTML format:

  • Manually type the HTML tags to format the message
  • Use an HTML-capable editor to save the format as described in the recipe steps

See also

  • The Setting up SLA notifications for warning and breaches recipe in Chapter 3, Configuring Service Level Agreements (SLAs), discusses SLA notification and provides examples of using the notification templates you create
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset