Friday, 19 January 2018

Creating an AEM JCR Event Listener using a Maven Archetype 12 Project

You can develop a custom JCR Event Listener for Adobe Experience Manager (AEM) 6.3 that responds to events that occur at the JCR level. For example, you can write an event handler to respond to the following JCR events:


  • A node was added
  • A node was moved
  • A node was deleted
  • A property was added to a node
  • A property was changed
  • A property was deleted


To create an AEM event listener, you create an OSGi bundle that contains a class that implements javax.jcr.observation.EventListener. For information, see EventListener.



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.

Linked In: http://www.linkedin.com/in/scottmacdonald2010

YouTube: Subscribe to the AEM Community Channel. 

Wednesday, 17 January 2018

Creating an Adobe Experience Manager 6.3 Project using Adobe Maven Archetype 12

You can create an AEM 6.3 project by using Adobe Maven Archetype 12. This development article walks you through creating an AEM 6.3 project by using Archetype 12 and explains the default AEM files and services. Using an Archetype 12 project, you are given a set of files to start with.

2 Pages


  • English and French pages with filler text

2 Templates


  • For homepage and content pages
  • Homepages are only allowed on top level, and content pages below
  • Built with HTL templates and simple server-side JavaScript logic

Example Components


  • helloworld: example of custom HTL component with SlingModels for the logic 
  • Core components - use of Core Components like text and image, and title 

Java examples

  • Models: Models for more complex business logic of components
  • Servlets: Rendering the output of specific requests
  • Filters: Applied to the requests before dispatching to the servlet or script
  • Schedulers: Cron-job like tasks


The following illustration represents a default AEM page that is created by the Archetype 12 project.



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.

Linked In: http://www.linkedin.com/in/scottmacdonald2010

YouTube: Subscribe to the AEM Community Channel. 

Thursday, 11 January 2018

January 2018 session of Ask the AEM Community Experts

For the January 2018 session of Ask the AEM Community Experts, we are doing a session on Multi-Site Management with AEM. However - we are trying a different format for this session. We are collecting MSM questions from the community and then these questions (we will attempt all - however it depends on how many we get) will be answered during the session.

To watch this session - click http://bit.ly/ATACE118

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.

Linked In: http://www.linkedin.com/in/scottmacdonald2010

YouTube: Subscribe to the AEM Community Channel. 

Thursday, 4 January 2018

Creating an Experience Manager 6.3 Page using the Page Manager API

You can create an Adobe Experience Manager (AEM) 6.3 service that uses the Page Manager API to dynamically create pages. To create a page using the Experience Manager Java API, you use the Page Manager API. For information, see Page Manager API in the Experienced Manager JavaDocs.

The following illustration shows the page that is created by following this development article.


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

.

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.

Linked In: http://www.linkedin.com/in/scottmacdonald2010

YouTube: Subscribe to the AEM Community Channel. 

Wednesday, 3 January 2018

Injecting Images into Granite/Coral Select Fields

When developing Adobe Experience Manager components, you often use a Granite/Coral Select field in your component dialog. A Select field lets an Experience Manager author choose from a list of values. For example, assume an author can select a country from a list of countries. To improve the appearance of the Granite/Coral Select field, you can add images to the Select field, as shown in the following illustration.



This development article walks your though how to add images to a Granite/Coral Select field. To read this article, click https://helpx.adobe.com/experience-manager/using/aem63_image_select.html.

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.

Linked In: http://www.linkedin.com/in/scottmacdonald2010

YouTube: Subscribe to the AEM Community Channel. 

Tuesday, 2 January 2018

Reading OSGi Configuration Values for Adobe Experience Manager 6.3

Summary

Discusses how to create an Adobe Experience Manager OSGi bundle that reads configuration values. This article uses Declarative Services Annotations

You can define OSGi configuration values by using CRXDE lite and dynamically read these values from within an OSGi service. By defining configuration values, you can define values used by an OSGi service and use these values while the service is running. Unlike hard-coding values in an AEM OSGi service, defining values in the AEM configuration user interface (http://localhost:4502/system/console/configMgr) lets you change values without re-compiling the bundle.



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.

Linked In: http://www.linkedin.com/in/scottmacdonald2010

YouTube: Subscribe to the AEM Community Channel.