Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

AEM 6.3 External Website API

Avatar

Level 1

Hi All,

I'm trying to find out if there is an API available that would allow us to access files and meta info stored in the AEM DAM from an external website?

My situation is that we have a client that is switching to AEM 6.3 for their asset management and they have several sites that are outside of the Adobe environment that they are wanting to populate with images and meta info from within the DAM. 

All of the documentation I've been able to find so far has been centered around creating sites inside the AEM environment.

Apologies if this has been answered elsewhere already but I'm not able to find a definitive answer.

Thanks,

George

1 Accepted Solution

Avatar

Correct answer by
Level 10

The answer to your question is AEM has an AssetManager API. However - this is only for working within AEM. An external site would not be able to make use of the AssetManager API.

However - you can write a custom solution. You can look at writing a Restful AEM service - that would be implemented as a Sling Servlet that would accept GET requests. Then the servlet could use the AssetManager API, QueryBuilder API, or even JCR API from within the Servlet. It could populate JSON and send back the information to the 3rd party system within JSON.

View solution in original post

2 Replies

Avatar

Correct answer by
Level 10

The answer to your question is AEM has an AssetManager API. However - this is only for working within AEM. An external site would not be able to make use of the AssetManager API.

However - you can write a custom solution. You can look at writing a Restful AEM service - that would be implemented as a Sling Servlet that would accept GET requests. Then the servlet could use the AssetManager API, QueryBuilder API, or even JCR API from within the Servlet. It could populate JSON and send back the information to the 3rd party system within JSON.

Avatar

Level 1

That was kind of the conclusion I was coming to from what I could find online but I needed to make sure there wasn't a simpler solution that I was missing,

Thanks for the quick response.