Fórum

How to Create User Account action hook in Liferay 7.?

Mahendra Panchal, modificado 7 Anos atrás.

How to Create User Account action hook in Liferay 7.?

New Member Postagens: 21 Data de Entrada: 25/02/14 Postagens Recentes
Hi

I have add custom field in user registration form. I have to store this field value I have implement Expando. for that I have decided to use ActionHook
How can i retrieve and store this field value. I have to go with servicewrapper, model listener, hook.?

Or Is there any easiest way to expand user registration form( Not from control panel ).

Thanks,
Mahendra
thumbnail
Syed Nasar, modificado 7 Anos atrás.

RE: How to Create User Account action hook in Liferay 7.?

Junior Member Postagens: 64 Data de Entrada: 03/09/15 Postagens Recentes
Hi Mahendra,

Go through this link.

Regards,
Syed Nasar
thumbnail
Pankaj Kathiriya, modificado 7 Anos atrás.

RE: How to Create User Account action hook in Liferay 7.?

Liferay Master Postagens: 722 Data de Entrada: 05/08/10 Postagens Recentes
You just have to override registration/create account screen jsps. No code change needed on back-end struts action class, existing source code is intelligent enought to retrieve custom field from submitted form and save it.

Refer: https://web.liferay.com/community/wiki/-/wiki/Main/Custom+Fields+and+JSP+Hooks