AEM

AEM GEM On 'Tips and Tricks for AEM Sites Touch UI'

Adobe will be holding another GEM on June 3rd, 2015. This session will be focusing on tips and tricks for the AEM Sites Touch UI. The session will be teaching you how to:

  • How to efficiently navigate and find content
  • How to author content
  • How to keep an overview of what is going on 
  • How to organize content and collaborate on it

If you have not attended one of these AEM sessions, they are a great chance to listen to some of the best experts in the industry, a great place to ask questions, and a good way to start networking. 

Here is a link to sign up if you are interested: AEM GEM

This session will be hosted by Gabriel Walt, a Product Manager at Adobe.

Ask the Community Experts Session: AEM Workflows Update

Workflows are a wonderful tool in AEM that allow you to automate activities. If you missed the “Ask the Community Experts Session” on workflows, do not fear. They have released an article on this session, and they have released a video of the session.


You can find a link to the to article here: Workflow Article

You can find a link to the video here: Workflow Video

Some of the topics the article and session will cover are:

  • Create an AEM workflow
  • Invoking the AEM workflow
  • Checking if the workflow is successful
  • Workflow sessions
  • Managing data in your workflow

AEM Interview Questions Part 2

This is part two of my AEM interview questions. You can find the other parts here:

Part 1 - Part 3 - Part 4 - Part 5 - Part 6 - Part 7 - Part 8 - PDF

Here are some more AEM interview questions that could come up during a technical interview:


QWhy is a Content Management System (CMS) required?

A: A content management system is a piece of software that is used to create and manage documents and Web sites. Many websites are dynamic, so their content needs to be updated frequently. In order manage these changes efficiently, it is recommend that a content management system be used. Which is why AEM is a content management system.


QWhat is RESTful?

A: Representational State Transfer (REST) is an architectural style and an approach to communications that is often used in the development of web services. It relies on a stateless, client server, cacheable communications protocol. RESTful applications use HTTP requests to post data, read data, and delete data.


The six architectural constraints of REST are: uniform interface, stateless, cacheable, client server, layered system, and code on demand.

QWhat are the benefits of using OSGI?

A: The main benefits of using OSGI are:
  • It reduces the complexity of the system by having everything in bundles.
  • It makes the components loosely coupled and easy to manage since they can be installed, deleted, updated, started, and stopped at run time.
  • It increases the performance of the system since parts of the application that are not in use, do not need to be loaded in the memory.

QWhat is the listener property in AEM?


A: The listener property in AEM for a component is used to define what happens before or after an action on the component. This is added by using the “cq:listeners” node with a node type of “cq:EditListenersConfig”.

The listener property can also be added to any widget in AEM. In order to add a listener to that widget you just need to add to add a node that is called “listeners” with a type of “nt:unstructured”. Then you just need to add child nodes to the “listeners” node that are events of that widget. You can find a list of events for each widget by searching CQ Widget API documentation.

QHow do you load digital assets in dam?


A: You can add digital assets to your dam by using the graphical user interface or through WebDav access. If you are using the graphical user interface, you would just browse for the selected files you would like to add, and then cq will create the metadata for those assets in the dam folder. You would generally use the WebDav option when you want to upload a large number or assets at once.

I plan to add more interview questions to this blog, so make sure to check back.

I hope you enjoyed this post. Please feel free to post any comments below.

AEM CQ:Listeners Node Tutorial

The purpose of this tutorial is to show you how to add the “cq:listeners” node to a component so when the component is modified the page will automatically refresh. You can read more about “cq:listeners” from a previous post I made here: cq:listeners node

For this tutorial we will be using crxde lite. This tutorial does not go into full detail, but does provide all the code that was used in the creation of this component for learning purposes.

For this tutorial I was using: AEM 6.0. You should be able to follow along with other versions of this software.

In order to follow along with this tutorial, you will need to have complete the following tutorial:

ShareThis Component Tutorial

If you have not completed the tutorial listed above, you can download a package from GitHub that has the completed component from here: ShareThis-AEM-Component. Just follow the instructions in the “readme” file to install the package into your instance of AEM.

If you have completed the previous steps, we can get started.

AEM ShareThis Component Tutorial

The purpose of this tutorial is to create an AEM Component that uses the ShareThis plugin that will allow users to share your content easily. For this tutorial we will be using crxde lite. This tutorial does not go into full detail, but does provide all the code that was used in the creation of this component for learning purposes.

For this tutorial I was using: AEM 6.0. You should be able to follow along with other versions of this software.

ShareThis is a tool that makes it easy to share your content across many social media websites. ShareThis also allows you to track when your content is shared. This is all accomplished by using their simple to use plugin. You can find more information here:

http://www.sharethis.com/

In order to follow along with this tutorial, you will need an account with ShareThis. The reason you need an account is because they will assign you a publisher id, which you will need in order to use their plugin. If you do not have an account, click on the link above and then sign up for their site. Registering is free and only takes a few seconds.

Now that you have an account with ShareThis, we can get started.

AEM Basic Project Setup Tutorial

The purpose of this tutorial is to show you how to set up a basic project structure in AEM. For this tutorial we will be using crxde lite. This tutorial does not go into full detail, but does provide all the code that was used in the creation of this project for learning purposes.

For this tutorial I was using AEM 6.0. You should be able to follow along with other versions of this software.

Lets get started.

AEM CQ:Listeners Node For A Component

There are many times when an author is modifying a component on a page, and they will have to manually refresh the page in order to see the changes that were made to it. Now, this does not take up a lot of time, but if it happens often it can add up significantly.

There is a way to have the page automatically refresh when a change is made to the component. This can be accomplished by using the “cq:listeners” node that is the following type: “cq:EditListenersConfig”. This node type is used when you want the page to refresh whenever a certain action is done to the component.

Some of the properties that the node can have are:

AEM Brackets Extension Tutorial

The purpose of this tutorial is to install the AEM Sightly Brackets Extension and see how easy it is to transfer content back and forth between Brackets and your local instance of AEM.

For this tutorial I was using: AEM 6.0, AEM Brackets Extension 0.0.12, and Brackets 1.1. You should be able to follow along with other versions of this software.

In order to follow along you will need the following:

AEM Sightly Brackets Extension

With the release of AEM 6, sightly has become the new go to language instead of using JSP. With the switch to this there has a been a new tool that was released, a sightly brackets extension. This extension offers some great features such as sightly syntax highlighting, code completion for sightly expressions, and bidirectional synchronization.

What does this all mean? Well, Brackets is an open source text editor that focuses on web design, and with sightly being a HTML5 template, it is a great tool to edit it with. Here is a link if you are interested: Brackets

The best feature of this extension is that you can package up your code, open it in Brackets and start editing it right away. Once you are done, you just click a button and your code is automatically uploaded to your AEM instance. It works the same way if you are editing that code in crxde lite, you just click a button and your code is updated in Brackets.

You can find more information here if you are interested in the extension: Sightly Brackets Extension