How to create a User Registration Form? | Community
Skip to main content
New Member
October 28, 2020
Solved

How to create a User Registration Form?

  • October 28, 2020
  • 3 replies
  • 2554 views

I am looking to create a user registration form on my site, however I can't seem to find any up to date documentation about how to achieve this. This is the only documentation I can find, and it doesn't help because that implementation has been deprecated in AEM 6.4.

 

Is it still possible to have user registration forms in AEM? If so, can anyone point me to up to date documentation or a tutorial? Thanks.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Umesh_Thakur

Hi @m900,

You can easily accomplish the task either by OOB form components or with the help of custom component then depending on your use case you can make ajax call to a sling servlet or direct service call from sling model or wcm usepojo then with the help of UserManager and User java api you can do that.

You can use see the below url for your reference.

https://www.albinsblog.com/2015/04/how-to-craetemanage-groups-and-users-java-adobecq5.html#.X6P7W1MzZRE

I it can be used directly with some modification.

For dialog creation part you can refer one same answer on your same post

https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/how-to-create-a-user-registration-form/qaq-p/385439/comment-id/82085#M82085

 

Now this time it will be useful for you.

Umesh Thakur.

3 replies

Adobe Employee
October 28, 2020

are you looking to do this using AEM Forms or just AEM?

what happens when the user fills and submits the form?

m900Author
New Member
October 28, 2020
I am looking to use the core AEM Form components to allow for user registration on the site. When the user fills out the form and submits their data, it should create an AEM user which they can login to.
Mayank_Gandhi
Adobe Employee
Adobe Employee
November 2, 2020

@kautuk_sahni Please move the thread to core aem.

Umesh_Thakur
Community Advisor
Umesh_ThakurCommunity AdvisorAccepted solution
Community Advisor
November 5, 2020

Hi @m900,

You can easily accomplish the task either by OOB form components or with the help of custom component then depending on your use case you can make ajax call to a sling servlet or direct service call from sling model or wcm usepojo then with the help of UserManager and User java api you can do that.

You can use see the below url for your reference.

https://www.albinsblog.com/2015/04/how-to-craetemanage-groups-and-users-java-adobecq5.html#.X6P7W1MzZRE

I it can be used directly with some modification.

For dialog creation part you can refer one same answer on your same post

https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/how-to-create-a-user-registration-form/qaq-p/385439/comment-id/82085#M82085

 

Now this time it will be useful for you.

Umesh Thakur.