Monday, 20 June 2016

Creating an AEM HTL component that uses JavaScript

You can create an Adobe Experience Manager (AEM) HTL component that uses JavaScript. By using JavaScript with your HTLcomponents, you can create more dynamic HTL components that respond to web-based events. For example, you can change the background color of an AEM web page, as shown in the following illustration. 

This article walks you building an AEM HTL component that uses JavaScript. To read this development article, click

Join the Adobe Experience Cloud Community 

Join the Adobe Experience Cloud Community by clicking this banner

I (Scott Macdonald) am a Senior Digital Marketing Community Manager at Adobe Systems with 20 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 @AdobeExpCare.

YouTube: Subscribe to the AEM Community Channel


  1. Your blog is awesome! Shamsher Khan is a leading digital marketing training providers in Delhi providing a complete course in digital marketing training, SEO training with live projects.

  2. Is it possible to implement it several times on the same page? Like changing the background of each menu item (different colors for each menu item) on a website?

  3. Wonderful Blog!!! Your post is very informative about the latest technology. Thank you for sharing the article with us.
    Digital Marketing Course in Chennai | Digital Marketing Training