留言板
"Add user" portlet
Currently for admin, to add user one has to go to control panel and then go to users to add up new user. I want a portlet where with one click to a button, new user registration open comes up
You can use create account functionality available in login portlet to create new user from page instead of control panel.
If you want user admin portlet to be available in page then you will have to do several changes in liferay-portlet.xml , liferay-display.xml and in portal.xml using ext.
Basically you will have to provide ADD_TO_PAGE permission so that user admin will be accessible in add application menu.
Thank you,
Jitendra
If you want user admin portlet to be available in page then you will have to do several changes in liferay-portlet.xml , liferay-display.xml and in portal.xml using ext.
Basically you will have to provide ADD_TO_PAGE permission so that user admin will be accessible in add application menu.
Thank you,
Jitendra
I Have a requirement where in i need to add user portlet to my own public page . Please share the steps
1. create form.
2. create action handler for form.
3. extract parameter values.
4. invoke liferay api to add user.
2. create action handler for form.
3. extract parameter values.
4. invoke liferay api to add user.
David H Nebinger:
1. create form.
2. create action handler for form.
3. extract parameter values.
4. invoke liferay api to add user.
hi
i have requirement so the users don't have to enter their first name and other features (which is mandatory by default system portlet ) my question is if i did the above instructions do i can bypass the checking forced by the system in("\html\portlet\login\create_account.jsp")
HI
Best way is create custom portlet and use portal API to add user in the database
Regards,
Meera Prince
Best way is create custom portlet and use portal API to add user in the database
Regards,
Meera Prince
Prajeesh,
Agree with Meera here. Creating a custom portlet is an easy and fast option here. I do similar to this when I need to create multiple users for testing.
Assuming that you want admin to escape filling forms every time a user is to be created and need bulk user creation..
Alternatively you can also check this portlet if it helps. https://www.liferay.com/marketplace/-/mp/application/33064852
This portlet imports users from csv file.
Agree with Meera here. Creating a custom portlet is an easy and fast option here. I do similar to this when I need to create multiple users for testing.
Assuming that you want admin to escape filling forms every time a user is to be created and need bulk user creation..
Alternatively you can also check this portlet if it helps. https://www.liferay.com/marketplace/-/mp/application/33064852
This portlet imports users from csv file.
There are liferay API you can use in your portlet like
- UserLocalServiceUtil.addUser(params)
Check the details for paramameter in API
Regards
Nitin
- UserLocalServiceUtil.addUser(params)
Check the details for paramameter in API
Regards
Nitin