Monday, 19 August 2013

Creating an AEM DAM Image component using the Query Builder API

You can create an Adobe Experience Manager image component that displays images located in the Adobe CQ Digital Asset Management (DAM) repository by using the Query Builder API. This API requires that you define search parameters, and an optional filter. After you execute the query, the results are stored in a result set. You can display the result set in an Adobe CQ web page. For information, see http://dev.day.com/docs/en/cq/current/javadoc/com/day/cq/search/QueryBuilder.html.

The CQ DAM is a digital asset management tool that is fully integrated with the CQ platform and enables your enterprise to share and distribute digital assets. Users across an organization can manage, store, and access images, videos, documents, audio clips, and rich media such as Flash files for use on the web, in print, and for digital distribution. For more information, see CQ Digital Asset Management.

The image component that is created in this development article uses the AEM Query Builder API within JSP application logic. That is, a JSP uses the Query Builder API to retrieve digital assets from the AEM DAM and then displays the images in the web page. In contrast, you can also create a server-side OSGi bundle that uses the Query Builder API to search the Adobe CQ repository. See Creating Adobe CQ OSGi bundles that use the Query Builder API.

The following illustration shows the simple JSP component that is created in this development article.


To read this development article, click:
http://helpx.adobe.com/experience-manager/using/aem-dam-image-components.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.

No comments:

Post a Comment