Vue combinée Vue Plate Arborescence
Sujets [ Précédent | Suivant ]
toggle
Shibu K V
Edit template of notification mail while doing user creation via jsonws
26 septembre 2013 05:10
Réponse

Shibu K V

Rang: New Member

Publications: 7

Date d'inscription: 6 septembre 2013

Publications Récentes

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
26 septembre 2013 06:29
Réponse

Corné Aussems

Rang: Liferay Legend

Publications: 1312

Date d'inscription: 3 octobre 2006

Publications Récentes

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
26 septembre 2013 06:31
Réponse

subhash lamba

Rang: Regular Member

Publications: 136

Date d'inscription: 7 juillet 2013

Publications Récentes

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
26 septembre 2013 21:56
Réponse

Shibu K V

Rang: New Member

Publications: 7

Date d'inscription: 6 septembre 2013

Publications Récentes

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.