hook - Issue while inserting the user in liferay -



hook - Issue while inserting the user in liferay -

i have created form has basic user details , on clinking of save button inserting user details in "user_" table calling userlocalserviceutil.adduser(....). user creating out issue. not able see form field parameters in userlocalserviceutil.adduser(....) method (title, gender , date of birth). how can save values. please give me suggestions how can insert next fields (title, gender , date of birth) @ time of user creation.

liferay uses com.liferay.portal.model.contact entity store contact information.

use com.liferay.portal.service.contactlocalserviceutil.addcontact method create contact. important parametres:

userid - id of user creating contact. can utilize portalutil.getuser method current user request. classname - "com.liferay.portal.model.user". classpk - id of new user contact created for.

liferay hook liferay-6 liferay-theme liferay-aui

Comments

Popular posts from this blog

Using Android Volley to post an array to PHP -

python - How to add an model instance to a django queryset? -

angularjs - No 'Access-Control-Allow-Origin' error from local domain to public API -