Data Exchange from third party tool in AEM 6.4 | Community
Skip to main content
August 15, 2018
Solved

Data Exchange from third party tool in AEM 6.4

  • August 15, 2018
  • 8 replies
  • 2607 views

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

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by smacdonald2008

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 Builder API

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.

8 replies

Jitendra_S_Toma
Level 10
August 15, 2018

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?

August 17, 2018

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

smacdonald2008
Level 10
August 17, 2018

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

August 17, 2018

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

smacdonald2008
smacdonald2008Accepted solution
Level 10
August 17, 2018

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 Builder API

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.

August 17, 2018

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

Thanks

smacdonald2008
Level 10
August 17, 2018

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.

August 17, 2018

Yeah  Correct. I agree.

Thanks