Hello,
I'm unable to use notification extension point.
I want to change the subject of notification emails. I wrote a
notification-contrib.xml file :
<?xml version="1.0"?>
<component
name="com.aka.demo.notification.service.NotificationContrib">
<extension
target="org.nuxeo.ecm.platform.ec.notification.service.NotificationService"
point="notifications">
<notification name="Modification" channel="email" enabled="true"
availableIn="Workspace"
autoSubscribed="false" template="modif" subject="Document mega
modifie" label="label.nuxeo.notifications.modif">
<event name="documentModified"/>
</notification>
</extension>
<extension
target="org.nuxeo.ecm.platform.ec.notification.service.NotificationService"
point="templates">
<template name="modif" src="templates/mail_modif.ftl" />
</extension>
</component>
but the "notification" extension point is not called. The second one
(templates) is called because the "modif" template is the default template.
The mail body is different but I'm not able to change the subject.
Thank you.
_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm