April 14, 2020
Estimated Post Reading Time ~

Creating a Mail List Component for the Experience Manager Toy Store Site

You can create Adobe Experience Manager custom components that function as Mail Sign Up components. An Mail Sign Up component lets web site visitors sign up to a mailing list that typically includes emailing out newsletters. In this article, the Mail List component is added to the Experience Manager Toy Store site.


When the user fills in the fields and clicks the Submit button, the data is persisted in a relational database by using a DataSourcePool.


This development article discusses how to inject a DataSourcePool service into an AEM service to which an HTL component submits data. By injecting a DataSourcePool, your service can connect to a relational database such as MySQL.

This article shows use of the following AEM technologies:
1. Build a HTL component that can submit data to a back-end service.
2. Use Sling Models with an HTL component.
3. How to inject a DataSourcePool into an AEM 6.3 service.
4. How to use the org.osgi.service.component.annotations.Component package to write an AEM Servlet.

To read this development article, click https://helpx.adobe.com/experience-manager/using/aem63_email_signup.html.


By aem4beginner

No comments:

Post a Comment

If you have any doubts or questions, please let us know.