Wednesday, 25 May 2016

Using Custom Tag Libraries to search for AEM Content Tags

You can create custom tag libraries for Adobe Experience Manager (AEM) and use them to search 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.

A custom tag library is implemented as an OSGi bundle that contains a Java class that extends TagSupport. For information, see Class TagSupport.

You also need to define a tag library descriptor (TLD) file and bundle that within the OSGi bundle. For information, see Tag Library Descriptors.

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


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

Wednesday, 18 May 2016

Working with AEM Content Fragments

Have you ever wondered how to easily create text snippets in Adobe Experience Manager (AEM) and store them in the AEM repository, for easy re-use when authoring web pages, mobile applications, social content, and so on?  In AEM 6.2, you can use content fragments that let you create original content in AEM, enabling copy writers to create editorial content before it is being authored in a page, and to further allow curating such content by creating channel specific variations and by associating collections with relevant media content. As a result, web producers receive content that is prepared and "ready to go”, enabling them to focus on assembling content across channels, globally and on a local level.


This development article will walk you through how to work with AEM content fragments. To read this development article, click  https://helpx.adobe.com/experience-manager/using/content-fragments.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, 16 May 2016

Searching for Adobe Experience Manager Tags using the TagManager API

You can develop an Adobe Experience Manager (AEM) OSGi bundle that uses the Tag Manager API to create application logic that searches for 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). For information about the API, see TagManager API.

Consider the following illustration that shows defined tags.


In this example, the name of the tag is Color and the Tag Id is properties:style/color. Using the Tag Manager API, you can create Java application logic to search for this tag and specify the all AEM JCR locations where this tag is used.

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

Friday, 6 May 2016

Using the Sling API to Query AEM Resources that belong to a Closed User Group

You can create an Adobe Experience Manager (AEM) application that queries AEM resources located in the AEM Java Content Repository (JCR) and part of a Closed User Group. To query AEM resources, you can use the Sling API from within an OSGi bundle to retrieve a resource from within the AEM JCR. To use the Sling API from within an OSGi component, you inject an org.apache.sling.api.resource.ResourceResolverFactory instance into the service. See Interface ResourceResolverFactory.

To use the Sling API to query AEM resources that belong to a CUG, you have to use an AEM System user that meet these requirements:


  • belongs to the CUG
  • has read permissions to the AEM resources

For example, consider the following AEM page resouces that are children pages to /content/geometrixx/en/toolbar/contacts.



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, 4 May 2016

May 2016 Ask the Community Experts

Join Scott MacDonald and the AEM Communities engineering team for a discussion on AEM Communities. By joining this session, you will gain a better understanding of how community functionality works within Experience Manager. In addition to the presentation and live demo the subject matter experts will be on hand to answer your questions related to AEM Communities.

To watch this session, 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