Tuesday, 27 September 2016

Adding Google reCAPTCHA to an AEM web site

You can use Google reCAPTCHA  to your AEM site to protect your website from automated script attacks while letting real users pass through with ease. The reCAPTCHA library is a free service that protects your website from spam and abuse. By using reCAPTCHA, you can improve the security of your AEM site.



As shown in the previous illustration, when using reCAPTCHA, a user is prompted to enter a code into an AEM page. If the code is valid, a message appears.  If the user enters an invalid code, a message appears letting the user know an invalid code was entered.



To read this development article, check back on Thurs Sept 29, 2016.

Monday, 19 September 2016

Integrating SOLR with Adobe Experience Manager

You can integrate SOLR with Adobe Experience Manager to improve searching. Solr is the popular, blazing-fast, open source enterprise search platform built on Apache Lucene. Solr is highly reliable, scalable and fault tolerant, providing distributed indexing, replication and load-balanced querying, automated fail-over and recovery, centralized configuration and more. Solr powers the search and navigation features of many of the world's largest internet sites. For more information, see http://lucene.apache.org/solr/.

The following illustration shows the SOLR client.


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

To watch the video - click https://youtu.be/WeSFxsAjwzA.


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, 13 September 2016

Integrating Jasper Reports into Adobe Experience Manager

You can create a custom Jasper Reports service for Adobe Experience Manager (AEM) that builds dynamic reports.  A benefit of creating a custom service is you can develop it to meet your business requirements and integrate the reporting service to use data queried from an AEM service. For example, you can create an AEM reporting solution that queries enterprise data from a database that a digital marketer is interested in viewing and produces a PDF report, as shown in the following illustration.



To build an AEM component that is able to produce PDF reports using Jasper Reports, you need to use the Jasper Reports API http://jasperreports.sourceforge.net/api/.


The custom AEM Service invokes the operation of the OSGi bundle that uses the Jasper Reports API. Then the service persists the Jasper Report in the AEM DAM by using the AssetManager API, as shown in this illustration. 




NOTE; For information about Jasper Reports, see http://community.jaspersoft.com/project/jasperreports-library


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 

Friday, 9 September 2016

Check out the new AEM Community You Tube Channel

Hey AEM Community, you may have noticed that we are starting to convert all of our AEM HELPX How To articles to videos. See:

https://www.youtube.com/channel/UCDtISU9W-zzo1PIU3pGHUbA/videos

 This is done for several reasons:
  1. We got feedback that community members want to see the AEM concepts in video. For example - they want to see the code run, component work, and so on.  As one community member stated - "By watching the videos, I get the concepts faster".
  2. This proves that the code in the articles work and by following the article, you should get the same results. 
  3. Some people prefer consuming information in video format. 

Now our objective is to build up the largest collection of How To AEM videos on the internet. As such, we like to get your Community AEM videos too. If you want to contribute videos on AEM/How To AEM videos on the AEM Community Channel, send me and my associate - Kautuk - an email at scottm@adobe.com and ksahni@adobe.com.

Also - for all community members reading this, please subscribe to the new channel. 


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






Creating an AEM 6.2 HTML Template Language component that uses a Multi-Field dialog

You can create an Adobe Experience Manager (AEM) 6.2 Touch UI component that can be used within the AEM Touch UI view. Furthermore, you can use the AEM HTML Template Language (HTL - formally known as Sightly) to develop the AEM component. For example, consider an author whom enters information into a multi-field control in the component's dialog, as shown in this illustration.



To read the development for AEM 6.2 - click https://helpx.adobe.com/experience-manager/using/htl_multifield62.html.

To watch the video - click https://www.youtube.com/watch?v=iKVGlo3iM-o&feature=youtu.be.

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, 6 September 2016

Creating an AEM HTML Template Language Component that displays data from a Restful Web Service

You can create an Adobe Experience Manager (AEM) HTML Template Language (HTL)   component that displays data retrieved from a third-party Restful web service. For example, assume you want to display data based on the distance between two cities on your web site. In this situation, you can develop an AEM HTL component that displays data between two cities, as shown in this illustration.


In this use case, the HTL component contains a class that extends WCMUsePojo. This class uses Java application logic to send a HTTP Request to a third-party Restful web service. The web service returns the following data in JSON format. 

 {  
   "destination_addresses":[  
      "Dallas, TX, USA"
   ],
   "origin_addresses":[  
      "Ottawa, ON, Canada"
   ],
   "rows":[  
      {  
         "elements":[  
            {  
               "distance":{  
                  "text":"2,714 km",
                  "value":2713758
               },
               "duration":{  
                  "text":"1 day 1 hour",
                  "value":89044
               },
               "status":"OK"
            }
         ]
      }
   ],
   "status":"OK"
}

The HTL component uses the Java library GSON to parse the JSON data and then displays the data in the client so it appears in the AEM web page. 



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


Friday, 2 September 2016

Ask the AEM Community Expert Session: Best Practices for Experience Manager and AEM Assets

RSVP  now to Join and Abhishek Dwevedi,Tech Training Instructor and Developer, Adobe Worldwide Field Enablement for a discussion about using AEM Assets. By joining this session, you will gain a deeper understanding of best practices for using assets in Experience Manager.

Speakers:
Abhishek Dwevedi, Scott Macdonnald

Sep 20, 2016 11:00am to 12:00pm (Eastern Daylight Time)

To sign up, click: https://communities.adobe.com/content/usergenerated/content/cush/en/communities/aem_technologistsdevelopersarchitects/events/_jcr_content/par/calendar/ask_the_aem_communit_4.form.html/content/cush/en/communities/aem_technologistsdevelopersarchitects/events/upcoming-event-detail.

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