How can I customize email notifications for "New comment" ?

I need to customize the notifications associated with comments added on documents.

For the notification service I found the extension points “notifications” and “templates” below, but I can not find an extension to the component org.nuxeo.ecm.platform.comment.service.notification

Where and how can I customize the notifications for “New comment” ? In Nuxeo, what is the difference between “Comments” and “New comment”? What components are behind these two elements ?

Thanks for your help.

<extension point="notifications" target="org.nuxeo.ecm.platform.ec.notification.service.NotificationService">
<notification name="CommentPublication" template="comment"...
<notification name="Subscriptions updated" template="subscriptionsUpdated"...
<notification name="Modification" template="modif"...
<notification name="Creation" template="modif"...
<notification name="Publication" template="publish"...
<notification name="PublicationOnClient" template="publish"...
<notification name="Workflow Change" template="workflow"...
<notification name="Approbation review started" template="aprobationWorkflowStarted"...
<notification name="Task assigned" template="workflowTaskAssigned"...
<notification name="Email document" template="emailDocument"...
<notification name="Social Subscriptions updated" template="subscriptionsUpdated"...
<notification name="Social Modification" template="modif"...
<notification name="Social Creation" template="modif"...
<notification name="Social Workflow Change" template="workflow"...
<notification name="Social Approbation review started" template="aprobationWorkflowStarted"...
<notification name="Social Task assigned" template="workflowTaskAssigned"...
<notification name="Social CommentPublication" template="comment"...
<notification name="Task assigned" template="workflowTaskAssigned"...
</extension>

<new comment ?????????????>
0 votes

1 answers

1770 views

ANSWER



<notification autoSubscribed=“false” availableIn=“*” channel=“email” enabled=“true” label=“notifications.name.CommentAdded” name=“CommentAdded” subject=“Nouveau comentaire sur : ${docTitle}'” template=“commentAdded”>

  <event name="commentAdded"/>
</notification>
0 votes