Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Shibu K V
Edit template of notification mail while doing user creation via jsonws
September 26, 2013 5:10 AM
Answer

Shibu K V

Rank: New Member

Posts: 7

Join Date: September 6, 2013

Recent Posts

I consumed /user/add-user jsonws for user creation in Liferay. The mail is going to the new users. The mail doesn't contains any details like user name or password. Where I can edit that mail template?

The default "Account Creation Notification" in Portal settings is not the one considering here.

Can any one pls help me to find out the template using here while creating users via consuming jsonws....
Corné Aussems
RE: Edit template of notification mail while doing user creation via jsonw
September 26, 2013 6:29 AM
Answer

Corné Aussems

Rank: Liferay Legend

Posts: 1270

Join Date: October 3, 2006

Recent Posts

Hi Shibu ,
This is the realm of the awesome translators tribe emoticon

In order to get a reply it is better to post it in a related category like one of these here

Since it relate to language here you go;
https://github.com/liferay/liferay-portal/blob/master/portal-impl/src/portal.properties#L8552-L8555
subhash lamba
RE: Edit template of notification mail while doing user creation via jsonw
September 26, 2013 6:31 AM
Answer

subhash lamba

Rank: Regular Member

Posts: 136

Join Date: July 7, 2013

Recent Posts

Hi..
You can change mail templates using
Portal Settings->Email Notification option->Account Create Notification Tab.
Change Template from there.
I think this will help you.

Why are you saying Account Create Notification not consider here??
Shibu K V
RE: Edit template of notification mail while doing user creation via jsonw
September 26, 2013 9:56 PM
Answer

Shibu K V

Rank: New Member

Posts: 7

Join Date: September 6, 2013

Recent Posts

Hi subhash lamba ,

The mail template in Portal Settings->Email Notification option->Account Create Notification is taking only when I add a user from Liferay UI from User and Organizations screen. The problem comes when I create user by consuming jsonws for user creation. At that time the mail comes in a different format as follows.
Dear ann,
Welcome! You recently created an account at http://localhost.
Sincerely,
Employee Portal
admin@employeeportal.com
http://localhost

It doesn't contains the username and password info.