cancel
Showing results for 
Search instead for 
Did you mean: 

Recent Activities Email - How to change the subject

syanzy
Champ in-the-making
Champ in-the-making
Specifically, I want to change the word "Alfresco Share".
I found out that I can change this by updating this property:
<strong>activities.feed.notifier.email.subject</strong>
in the <strong>activities-service.properties</strong> file found in this path:
alfresco/tomcat/<strong>webapps</strong>/alfresco/WEB-INF/classes/alfresco/messages/

But best practice dictates that we shouldn't directly edit files in the <strong>webapps</strong> path, lest we lose the changes during upgrades.
So we are supposed to save it in the <strong>web-extension</strong> folder, or others would say in the <strong>shared</strong> folder, which would be:
alfresco/tomcat/<strong>shared</strong>/classes/alfresco/messages
or
alfresco/tomcat/<strong>shared</strong>/classes/alfresco/web-extension/messages

I tried updating the property in a custom .properties file. That didn't work.
I tried updating the property using the original file name. That also didn't work.

In all, I tried updating the property in the following path, none of them worked:
alfresco/tomcat/<strong>shared</strong>/classes/alfresco/messages/activities-service.properties
alfresco/tomcat/<strong>shared</strong>/classes/alfresco/messages/oo-custom-email-service.properties
alfresco/tomcat/<strong>shared</strong>/classes/alfresco/web-extension/activities-service.properties
alfresco/tomcat/<strong>shared</strong>/classes/alfresco/web-extension/oo-custom-email-service.properties
alfresco/tomcat/<strong>shared</strong>/classes/alfresco/web-extension/messages/activities-service.properties
alfresco/tomcat/<strong>shared</strong>/classes/alfresco/web-extension/messages/oo-custom-email-service.properties

Am I doing something wrong, or is this a bug?

See this bug which they ruled out is not a bug: https://issues.alfresco.com/jira/browse/MNT-5920
4 REPLIES 4

bone
Champ on-the-rise
Champ on-the-rise
Hi,

have you already set up a Spring context file for your properties-files? At the following posting a similar problem is described: <a href="https://forums.alfresco.com/forum/developer-discussions/alfresco-share-development/overriding-messag...">https://forums.alfresco.com/forum/developer-discussions/alfresco-share-development/overriding-messag...</a>

I hope this can help you further.

vessvass_6043
Champ in-the-making
Champ in-the-making
Any update here?

activities-service.properties seems not separately  available in v. 5.0.c ?

Spring context file method from Tobias works for the page Title change only..What needs to be modified in it to make it applicable to activities feed email subjects? 

@vessvass_6043, did you manage to get a solution?

iwkse
Star Contributor
Star Contributor
Same issue here, it worked with 5.0.c but it doesn't work anymore (I've overried it with a jar dropping it in alfresco WEB-INF/lib) and the only difference I see with the new version is that now such properties is itself inside a jar.
Anyone know a proper solution to deal with it?
By the way, I had the same issue with other overriding and all the time properties were moved into a separate jar.