You are here

Configuring email templates using v1 REST APIs

Use this information to configure customized email templates for your registered applications using the v1 REST APIs.

There are a number of properties for configuring customized email templates when using the v1 REST APIs. Once you have developed your custom application, add the required properties in the global properties file ( to register your application. In this file you can also set the path to each email template and any linked assets (such as images and company logo) to use your own branding.

The shared-links and request-password-reset APIs provide a way to send email notifications. To view these APIs, navigate to!/shared-links/emailSharedLink and!/people/requestPasswordReset in your web browser. One of the mandatory properties in the request body of these APIs, client, sets the name of your registered client application. Registering a client means you can create a unique email template for each client, and configure the required email template and assets using different properties.

The client registration is based on a predefined naming convention loaded from properties files. The naming convention must conform to the format:
Note: The client name (<client-name>) and property name (<propertyName>) must not contain a dot ('.').
An example implementation is provided in this release where Alfresco Share is registered as the default client for the shared-links and request-password-reset APIs. These properties are defined in alfresco/client/config/ but you can override them in
 # shared-link (quickShare) base url
 # shared-link email template path
 # reset password request email template path
 # reset password UI page url
 # reset password confirmation email template path
Note: Any property without a value is ignored, however, a client can't be registered if all the properties of that client have no values.

For more information, see Configuring customized email templates.

Sending feedback to the Alfresco documentation team

You don't appear to have JavaScript enabled in your browser. With JavaScript enabled, you can provide feedback to us using our simple form. Here are some instructions on how to enable JavaScript in your web browser.