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

Data Exchange from third party tool in AEM 6.4

Avatar

Former Community Member

Hi Experts,

We have one requirement in integrate AEM 6.4 with Ad server. From Ad server we want to retrieve the data from AEM 6.4 like Assets and Asset's metadata , folder info and AEM user info, Group info etc. Whet is the best way to get the AEM data from third party tool like Ad server? Does AEM provided the REST service with data?

Thanks

1 Accepted Solution

Avatar

Correct answer by
Level 10

As mentioned by Jitendra Singh tomar - there is no OOTB Endpoint that will do that in AEM. You need to write a custom AEM Servlet that uses a querying language like QUeryBuilder API. Then get the Assets that you are interested in. Purhaps under a specific folder as discussed here:

Adobe Experience Manager Help | Downloading Adobe Experience Manager 6.4 DAM Assets using the Query ...

Then read the props you need from the DAM Assets and put into a JSON structure. Return that as the return value of the Servlet and then you can have your service in the other tool parse it and display the required data.

View solution in original post

8 Replies

Avatar

Level 9

Hi Samer,


AEM does not provide any such endpoints. You need to have the custom endpoint for that and logic too for building the for the Ad server. Do you have user info stored in AEM itself?

Avatar

Former Community Member

Thanks Jitendra.

can we keep the custom code as OSGI bundle and that can be invoked by Ad server? Any idea or any other approach/suggestion?

Thanks

Avatar

Level 10

Does Ad Server let you place custom service that can invoke an AEM Servlet?

Avatar

Former Community Member

Hi Scott,

Yes, client have custom UI already integrated with Ad server and in that custom UI they want data from AEM assets like assets and metadata information to further use at there end.

They are asking to us like how they can retrieve the data from AEM.

Thanks

Avatar

Correct answer by
Level 10

As mentioned by Jitendra Singh tomar - there is no OOTB Endpoint that will do that in AEM. You need to write a custom AEM Servlet that uses a querying language like QUeryBuilder API. Then get the Assets that you are interested in. Purhaps under a specific folder as discussed here:

Adobe Experience Manager Help | Downloading Adobe Experience Manager 6.4 DAM Assets using the Query ...

Then read the props you need from the DAM Assets and put into a JSON structure. Return that as the return value of the Servlet and then you can have your service in the other tool parse it and display the required data.

Avatar

Former Community Member

Yes, this is good approach. We will do this way. Thanks Scott.

Thanks

Avatar

Level 10

This is why AEM is so powerful. Even if a use case is not available OOTB - using the AEM Java API - you can typically build code to address the use case.