Wednesday, 11 February 2015

Building Secure Adobe Experience Manager Web Sites

You can create secure Adobe Experience Manager web sites that require users to login in order to view a site's content. AEM supports form-based authentication that requires a web site visitor to enter a user name and password, as shown in the following illustration.  


AEM form-based authentication displays a login form (as shown in the previous illustration). When the user fills in the login form and submits the data, AEM stores the successful authentication in a Cookie or an HTTP Session. If the authentication is unsuccessful, then an error message is displayed.

By default, the URL of a form submission has to end with /j_security_check. That is, a login Form Action can POST to <anything>/j_security_check. For example:

<form action="${homePage.path}/j_security_check

The user name and password names must be j_username and j_password. For example:

<div class="form-group">
<label for="j_username">Username</label> <input type="text"
name="j_username">
</div>
<div class="form-group">
<label for="j_password">Password</label> <input type="password"
name="j_password">
</div>

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

Wednesday, 4 February 2015

Invoking AEM Sling Servlets using Apache HTTP APIs

You can invoke a Sling Servlet deployed within Adobe Experience Manager by using Java APIs located in the org.apache.commons.httpclient.HttpClient package. This Java package contains classes that let you perform HTTP operations such as invoking a Servlet's doGet method. For information about this Java package, see Package org.apache.commons.httpclient.

Assume that you have a business requirement to invoke a deployed AEM Sling Servlet from another AEM service defined within an OSGi bundle. You can perform this use case by using a org.apache.commons.httpclient.HttpClient object.  


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

Adobe Digital Marketing Community

Join the Adobe Digital Marketing Community. Start by clicking this banner

About the Author

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

Tuesday, 3 February 2015

Creating Interactive Video Components for Adobe Experience Manager

You can develop a custom video component for Adobe Experience Manager (AEM) 6 that supports the ability to display information at specific time intervals. For example, assume that a marketing team wants to highlight or emphasize a product feature along with their product video. That is, to display text pointers or document links along with a webinar video. Given this requirement, you can develop an AEM video component that supports the following functionality:


  • Lets an author specify timeline point(s) of a video when content is displayed.
  • Lets an author specify the content what content to display.

The following illustration shows the custom interactive video component that is developed in this article.


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

Adobe Digital Marketing Community

Join the Adobe Digital Marketing Community. Start by clicking this banner

About the Author

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

Thursday, 29 January 2015

Creating an AEM project using Eclipse IDE

You can create an AEM application by using the Java Eclipse Integrated Development Environment (IDE). By building an AEM application using Eclipse, you can access features within the IDE such as code completion and the ability to remote debug the application. That is, you can set a breakpoint on a line of Java code used for an OSGi bundle and you can walk through the code to troubleshoot issues.

You can synchronize code (both Java code and JSP code) in Eclipse with the code in the AEM JCR. For example, assume that you have application logic in Eclipse that represents a JSP component. You can synchronize the code in Eclipse with code in the AEM JCR using the vault tool. That is, you can check in code you write in Eclipse into the AEM JCR. Likewise, if you make a change in AEM using CRXDE lite, you can checkout the code that results in the code in Eclipse being updated. To synchronize code, you configure the vault tool (this is shown later in this development article).

The following illustration shows application logic for an AEM application within Eclipse.


To read this development article, click https://helpx.adobe.com/experience-manager/using/creating-aem-project-using-eclipse.html.

Adobe Digital Marketing Community

Join the Adobe Digital Marketing Community. Start by clicking this banner

About the Author

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

Thursday, 22 January 2015

Creating Custom Data Importer Services for Adobe Experience Manager

You can develop a custom data importer service for Adobe Experience Manager (AEM) that lets you import data. To address some business requirments, importing external data into your AEM site is an important use case. For example, you can import data from an external social media site. In this development article, a cus­tom node type, cq:PollConfig, is used to import data at a specific inter­val.
To create a custom data importer service, use the com.day.cq.polling.importer.Importer API and ceate an OSGi bundle, as shown in the following illustration. 


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

Adobe Digital Marketing Community

Join the Adobe Digital Marketing Community. Start by clicking this banner

About the Author

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

Wednesday, 14 January 2015

Upcoming Sessions of Ask the AEM Community Experts

The Ask the AEM community experts sessions for January and February 2015 are as follows:

Deep dive with AEM and Sightly

 Join Scott Macdonald and Feike Visser for a deep dive into using Sightly and Adobe Experience Manager (AEM). By attending this session, you will gain a deeper understanding on how to use this new technology to build AEM components. In addition, you will have the chance to ask Sightly questions to the Adobe Experts. This session will be held on Tues Jan 27 at 11 AM EST.


Here is a playback of AEM Ask the Experts on Sightly.

https://www.youtube.com/watch?v=QfvFWSQQ_0M

You can get the Sightly code from this session here:

https://communities.adobe.com/en/communities/aem_technologistsdevelopersarchitects/resources.html

Building login-based sites in AEM

 Join Scott Macdonald and Justin Edelson to learn how to develop secure AEM web sites that require user authentication. By attending this session, you will gain a deeper understanding of how to build AEM secure web sites by using Sling technology. In addition, you will have the chance to ask Sling security  questions to the Adobe Experts. This session will be held on Tues Fe b17 at 11 AM EST.



Friday, 9 January 2015

Creating an AEM project using the Java IntelliJ IDE

You can create an AEM application by using the Java IntelliJ Integrated Development Environment (IDE). By building an AEM application using IntelliJ IDE, you have access to features within the IDE such as code completion and the ability to remote debug the application. That is, you can set a break point on a line of Java code used for an OSGi bundle and you can walk through the code in the IntelliJ environment to troubleshoot issues.

You can synchronize code (both Java code and JSP code) in the IntelliJ environment with the code in the AEM JCR. For example, assume that you have code in IntelliJ that represents a JSP component. You can synchronize the code in the IntelliJ IDE with code in the AEM JCR using Vault. That is, you can check in code you write in IntelliJ into the AEM JCR. Likewise, if you make a change in AEM using CRXDE lite, you can checkout the code that results in the code in IntelliJ being updated. To synchronize code, you configure the vault tool (this is shown later in this development article).

The following illustration shows an AEM application within the IntelliJ IDE.


This article walks you through how to build an AEM application using IntelliJ and synchronize the code with the code in the AEM JCR. In addition, it discusses how to setup AEM for remote debugging. To read this development article, click  http://helpx.adobe.com/experience-manager/using/creating-aem-project-using-intellij.html.
.

Adobe Digital Marketing Community

Join the Adobe Digital Marketing Community. Start by clicking this banner

About the Author

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

Linked Inhttp://www.linkedin.com/in/scottmacdonald2010
TwitterFollow the Digital Marketing Customer Care team on Twitter @AdobeMktgCare.