Forums de discussion

Edit template of notification mail while doing user creation via jsonws

Shibu K V, modifié il y a 10 années.

Edit template of notification mail while doing user creation via jsonws

New Member Publications: 7 Date d'inscription: 06/09/13 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....
thumbnail
Corné Aussems, modifié il y a 10 années.

RE: Edit template of notification mail while doing user creation via jsonw

Liferay Legend Publications: 1313 Date d'inscription: 03/10/06 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
thumbnail
subhash lamba, modifié il y a 10 années.

RE: Edit template of notification mail while doing user creation via jsonw

Regular Member Publications: 136 Date d'inscription: 07/07/13 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, modifié il y a 10 années.

RE: Edit template of notification mail while doing user creation via jsonw

New Member Publications: 7 Date d'inscription: 06/09/13 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.