Tuesday, 16 August 2016

Creating an AEM HTML Template Language Component that posts data using AJAX

You can create an Adobe Experience Manager (AEM) HTML Template Language (HTL)   component that is able to post data to a Sling Servlet and display data returned by the servlet. An HTL component can perform POST/GET operation using AJAX. For example, you can perform a search operation by posting a user ID. Then the servlet can perform a lookup on a data set and return the data. This article walks you through how to build an AEM HTL component that can post data to an AEM Sling Servlet and then display the results, as shown in the following illustration.





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


Adobe Digital Marketing Community

Join the Adobe Digital Marketing Community. Start by clicking this banner



I (Scott Macdonald) am a Senior Digital Marketing Community Manager at Adobe Systems with over 18 years in the high tech industry. I am also a programmer with knowledge in Java, JavaScript, C#,C++, HTML, XML and ActionScript. If  you would like to see more CQ or other Adobe Digital Marketing end to end articles like this, then leave a comment and let me know what content you would like to see.


TwitterFollow the Digital Marketing Customer Care team on Twitter @AdobeMktgCare.
TwitterFollow me on Twitter @smac2020

1 comment:

  1. This comment has been removed by a blog administrator.

    ReplyDelete