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 Experience League

To become an Experience Business, you need more than just great tools and online help. You need a partner. Experience League is a new enablement program with guided learning to help you get the most out of Adobe Experience Cloud. With training materials, one-to-one expert support, and a thriving community of fellow professionals, Experience League is a comprehensive program designed to help you become your best.

Join the Adobe Experience League by clicking this banner.

I (Scott Macdonald) am a Senior Experience League 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 AEM or other end to end articles like this, then leave a comment and let me know what content you would like to see.

Twitter: Follow the Digital Marketing Customer Care team on Twitter @AdobeExpCare.


  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