Change "Create New User Account" subject email notification

cancel
Showing results for 
Search instead for 
Did you mean: 
tommy_saputra
Active Member

Change "Create New User Account" subject email notification

Jump to solution

Dear Alfresco Team,

I'm a newbie with Alfresco. I'd like to know if I able to modified Subject on Create New User Account Subject email notification? For example Alfresco Share: Your New Account to My_Company_Name : Your New Account.

I Installed 5.2 Alfresco Community Edition on my Linux (CentOS7) server.

Please help me to solve this problem. And sorry for my bad English. Thank You so much.

Sincerely,

Tommy

1 Solution

Accepted Solutions
roberto_gamiz
Established Member II

Re: Change "Create New User Account" subject email notification

Jump to solution

For the second case you only have to modify the email template new-user-email.html.ftl stored in 

Company Home > Data dictionary> Email templates> Invite

View solution in original post

14 Replies
roberto_gamiz
Established Member II

Re: Change "Create New User Account" subject email notification

Jump to solution

Hello,

You need to overwrite an Alfresco property:  

# Person Notification messages
invitation.notification.person.email.subject=Alfresco {0}: Your New Account

You can locate it on the properties file invitation-service.properties

You have several ways to do that and there are a lot post in this forum that give you the way. Most of then talk about activities email but the mechanism will be the same for this email..

You can modify invitation-service.properties directly on the file alfresco-repository.jar in your instalation :

Change subject email  

You can try to create manually an extension path in your deploy:

Coding Freaks - Helping others to learn: Customising Alfresco Share : Recent activities email subjec... 

Or the prefered way, you can develope an extensión project using SDK and install it in your Alfresco.

https://community.alfresco.com/message/755034-re-change-subject-on-email-notification?commentID=7550... 

Best,

tommy_saputra
Active Member

Re: Change "Create New User Account" subject email notification

Jump to solution

Hello Roberto,

Thanks for replying my post.

I've already read the post that you sent and i've tried it too. But, since I newbie in Linux, I can't modify .jar file. I've also tried to unzip or unjar the file,but nothing happened. 

Did you have any specific way to modify .jar file that can help me? I can't find any answer for this problem. >.<

And again, sorry for my bad english.

roberto_gamiz
Established Member II

Re: Change "Create New User Account" subject email notification

Jump to solution

Have you restart Alfresco server after make the modifications?.

In theory to modify the jar you only have to rename to zip, unzip, make the modifications, compress again and rename to jar.

You can try one of the other solutions that not imply modificate any jar file.

tommy_saputra
Active Member

Re: Change "Create New User Account" subject email notification

Jump to solution

Yes, I always restart Alfresco server after made every modifications,but nothing happened.

Ok, i'll try to modify the .jar file, hope it can solve my problem.

Thank you so much for helping me out Roberto.

tommy_saputra
Active Member

Re: Change "Create New User Account" subject email notification

Jump to solution

Hello again Roberto Roberto Gamiz Sanchez‌,

I just want to inform, modify the .jar file is also unsuccessful. I already modified invitation.notification.person.email.subject=Alfresco {0}: Your New Account to invitation.notification.person.email.subject=E-DMS : Your New Account (and restart Alfresco server after modify the properties) is not working either.

Do you have another way about this issue? 

roberto_gamiz
Established Member II

Re: Change "Create New User Account" subject email notification

Jump to solution

You could try the other two option I gave you developing an extension of the repository.

Anyway had you deleted temp directories of your deploy? 

Regards.

tommy_saputra
Active Member

Re: Change "Create New User Account" subject email notification

Jump to solution

Oh.. what temp directories? I don't know about this directories. Where I can find it?

Maybe that's the problem.

roberto_gamiz
Established Member II

Re: Change "Create New User Account" subject email notification

Jump to solution

I mean Tomcat temp directory. Really i don't think this is affecting you but you can test it anyway. 

tommy_saputra
Active Member

Re: Change "Create New User Account" subject email notification

Jump to solution

Can I delete all files in temp directory? How about work directory (inside tomcat directory too) can I delete it too?