Friday, 19 September 2014

Downloading Adobe Experience Manager DAM Assets using Sling Servlets and the Query Builder API

You can create an AEM Sling Servlet that uses the AEM Query Builder API to search the AEM Digital Asset Manager (DAM) and return a collection of assets within a ZIP file. The client web browser downloads the ZIP file that contains the DAM assets.

You can create a Sling Servlet that performs these tasks:

  • Uses the QueryBuilder API to search a specific DAM folder
  • Retrieves assets (for example, PNG files)
  • Places the assets in a ZIP file
  • Returns the ZIP file  

The following illustration shows the use case described in this development article.

To read this development article, click:

Join the Adobe Experience Cloud Community 

Join the Adobe Experience Cloud Community by clicking this banner

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

YouTube: Subscribe to the AEM Community Channel

1 comment: