Monday, 20 June 2016

Creating an AEM Sightly component that uses JavaScript

You can create an Adobe Experience Manager (AEM) Sightly component that uses JavaScript. By using JavaScript with your Sightly components, you can create more dynamic Sightly 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 Sightly component that uses JavaScript. To read this development article, click  https://helpx.adobe.com/experience-manager/using/sightly_js.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

Thursday, 16 June 2016

Preparing for AEM Developer Certification Exam -- July 2016 Session of Ask the AEM Communtiy Experts

Join Scott Macdonald and  James Talbot for a session on preparing for the AEM 6 Developer Certification Exam. This session will discuss how to prepare for the developer exam and cover areas that a developer whom is writing the exam is expected to know. If you are planning on writing the AEM Dev Exam, this is a session you want to attend.




The session is July 19 at 11 AM EST.  To sign up, click here.



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

Wednesday, 15 June 2016

Working with Sling Models in Adobe Experience Manager 6.2

You can work with Sling Models when developing with Adobe Experience Manager (AEM) 6.2. That is, when developing an AEM project, you can define a model object (a Java object) and map that object to Sling resources. For more information, see Sling Models.

A Sling Model is implemented as an OSGi bundle. A Java class located in the OSGi bundle is annotated with @Model and the adaptable class (for example, @Model(adaptables = Resource.class). The data members (Fields) use @Inject annotations. These data members map to node properties.

Consider the following Java class named UserInfo.

package SlingModel62.core;

import javax.inject.Inject;

import org.apache.sling.api.resource.Resource;
import org.apache.sling.models.annotations.Model;

@Model(adaptables = Resource.class)
public class UserInfo {
    @Inject
    private String firstName;
    @Inject
    private String lastName;
    @Inject
    private String technology;
     
    public String getFirstName() {
        return firstName;
    }
    public String getLastName() {
        return lastName;
    }
    public String getTechnology() {
        return technology;
    }

}

This class can be mapped to nodes in the AEM JCR. You can create an AEM application that uses Sling Mapping to  display node properties.



This development article walks you through how to use Sling Models in AEM 6.2. To read this development article, click https://helpx.adobe.com/experience-manager/using/slingmodel_62.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

Tuesday, 14 June 2016

Building Adobe Experience Manager Mobile Applications

Adobe Experience Manager (AEM) Apps and PhoneGap Enterprise bring together the simplicity and ease-­‐of use of the AEM authoring environment with the power and portability of PhoneGap mobile applications. Using AEM Apps you can create, author, and update your applications within AEM. For information about PhoneGap, see PhoneGap.

With PhoneGap Enterprise you can choose from a range of pre-­‐built app components, build your app across multiple mobile platforms, and test your apps within the PhoneGap Enterprise mobile application.

In this development article, you learn how to use AEM and PhoneGap to quickly and easily build your own mobile application, how to test it in simulators for a range of devices, and how to track app usage.


 To read this development article, check back on Fri June 24, 2016.

Wednesday, 8 June 2016

Developing a Sightly Component that searches for AEM Content Tags

You can create a custom Adobe Experience Manager (AEM) Sightly component that searches for AEM content tags. Tags are a quick and easy method of classifying content within your website. In technical terms, a tag is a piece of metadata assigned to a content node within AEM (usually a page).  A custom tag library uses an OSGi component. Within the OSGi component, the AEM Tag Manager is used to search for the content tags, For information about the API, see TagManager API.

After you develop the AEM Sightly component, you can invoke its actions from an AEM component. For example, the component can display information about a content tag, as shown in the following illustration.


This article steps you through how to build this Sightly component that searches for tags. To read this development article, click https://helpx.adobe.com/experience-manager/using/tagmanager-api-sightly.html.

NOTE: The class com.adobe.cq.sightly.WCMUse is depreciated. This article shows use of WCMUsePojo.

NOTE: This article shows you how to build the Tag Search component using Sightly. For information on how to build this Tag Search component using JSP, see http://scottsdigitalcommunity.blogspot.ca/2016/05/using-custom-tag-libraries-to-search.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

Monday, 6 June 2016

Join Ask the AEM Community Experts session for June

RSVP to join Scott MacDonald and Steve Monroe for a discussion about AEM Forms Document Services. By joining this session you will:

  • understand what OSGi Services are available for creating, assembling, and securing PDF Documents
  • see examples of how to apply these services to your Adobe Experience Manager projects
  • ask Steve, an AEM Senior Manager, questions related to AEM Forms Document Services
Sign up by clicking here.


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

Wednesday, 1 June 2016

Getting Started with Adobe Experience Manager and OSGi bundles

Adobe Experience Manager (AEM) is developed using frameworks such as OSGi and Apache Sling. OSGi defines a dynamic component that is written in Java. These specifications enable a development model where dynamic applications comprise of reusable components. The OSGi specifications enable components to hide their implementations from other components while communicating through services, which are objects that are specifically shared between components. For more information, see OSGi Architecture.

The following illustration shows how the OSGi framework within AEM.



This development article explains basic AEM/OSGi concepts that every AEM developer should understand.  It also steps you through an AEM project setup using the AEM Eclipse plug-in.

To read this article, click https://helpx.adobe.com/experience-manager/using/osgi_getting_started.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