Alfresco default work flow template changing

馋奶兔 提交于 2019-12-01 13:31:24
user5467830

To change the subject of the notification email sent from a workflow, I did the following:

Copied the notification-service.properties file into my project, and changed the value of the assigned-task field. The location I placed that file in my project was \src\main\amp\config\alfresco\module\\messages

I also added a spring bean to my project, which points to that file. I put mine in \src\main\amp\config\alfresco\module\\context\service-context.xml. (This bean overrides the one provided by alfresco in /repository/config/alfresco/notification-services-context.xml)

<bean id="notificationServiceResourceBundles" class="org.alfresco.i18n.ResourceBundleBootstrapComponent">
   <property name="resourceBundles">
      <list>
         <value>alfresco.module.${project.artifactId}.messages.notification-service</value>
      </list>
   </property>
</bean>
标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!