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
Solved! Go to Solution.
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:
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.
Views
Replies
Total Likes
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?
Views
Replies
Total Likes
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
Views
Replies
Total Likes
Does Ad Server let you place custom service that can invoke an AEM Servlet?
Views
Replies
Total Likes
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
Views
Replies
Total Likes
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:
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.
Views
Replies
Total Likes
Yes, this is good approach. We will do this way. Thanks Scott.
Thanks
Views
Replies
Total Likes
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.
Views
Replies
Total Likes
Yeah Correct. I agree.
Thanks
Views
Likes
Replies
Views
Likes
Replies