Create user-defined HTML template for notifications

You can customize HTML templates for notifications that are automatically sent when a user is created, activated or deactivated. You carry out this part of the configuration in ARIS Administration.

Variables may be used to personalize the content of a notification of ARIS Administration. Variables can be used in both notification subject and body.

Prerequisite

You should have a good knowledge in HTML and in creating HTML templates.

Procedure

  1. Use a text editor to create the HTML template for HTML formatted e-mails.
  2. Use the following example as basis.
  3. Adapt the text.
  4. Replace the http://localhost URL in the example with the URL where your loadbalancer runnable is installed.
  5. Adapt the look and feel, for example, the border size of the HTML e-mail.

You have created a customized HTML template for e-mails.

Example

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">

    <head/>

    <body>

        Dear <#if user.givenName?has_content>${user.givenName} ${user.lastName}<#else>user</#if>,

        <p>

            your account has been activated. Please use the following credentials to login:</p>

        <table border="0" cellpadding="1" cellspacing="1" style="width: 250px;">

            <tbody>

                <tr>

                    <td>

                        Server name</td>

                    <td>

                        <b><a href="${property["com.aris.umc.loadbalancer.url"]!"http://localhost"}">${property["com.aris.umc.loadbalancer.url"]!"http://localhost"}</a></b></td>

                </tr>

                <tr>

                    <td>

                        Tenant:name</td>

                    <td>

                        <b>${tenant.name}</b></td>

                </tr>

                <tr>

                    <td>

                        User name:</td>

                    <td>

                        <b>${user.login}</b></td>

                </tr>

                <tr>

                    <td>

                        Password:</td>

                    <td>

                        <b>${user.password}</b></td>

                </tr>

            </tbody>

        </table>

        <p>

            Best regards,

        <br/>

            Administration</p>

        <p>

            <em>*** This notification was sent automatically by Administration. Please do not reply to this e-mail.***</em></p>

    </body>

</html>