Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.
SOLVED

How to create a User Registration Form?

Avatar

Level 1

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.

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi @miken71150364,

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#.X6P7W1Mz...

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-regis...

 

Now this time it will be useful for you.

Umesh Thakur.

View solution in original post

5 Replies

Avatar

Employee Advisor

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

what happens when the user fills and submits the form?

Avatar

Level 1
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.

Avatar

Employee Advisor
suggest to move this to AEM community for better response

Avatar

Correct answer by
Community Advisor

Hi @miken71150364,

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#.X6P7W1Mz...

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-regis...

 

Now this time it will be useful for you.

Umesh Thakur.