Skip to main content
Level 2
Oct 26, 2015 3:25 PM UTC
Solved

AEM Custom Importer

In AEM 6.0 , How we can write our custom IMPORTER Service , which implements the com.day.cq.polling.importer.Importer ?

Requirement is mentioned below:

 We will have custom servlet, where we will invoke the overriden importData() method, for specific resource target.

Thanks in advance.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
edubey
edubeyAccepted solution
Level 10
Oct 26, 2015 3:30 PM UTC

3 replies

edubey
edubeyAccepted solution
Level 10
Oct 26, 2015 3:30 PM UTC
Lokesh_Shivalingaiah
Level 10
Oct 26, 2015 7:31 PM UTC

You can use  'implement Importer' for your service to act as an custom importer

Translate
kautuk_sahni
Level 9
Oct 27, 2015 6:14 AM UTC

Hi shubhankarb27425557  
As mentioned by Praveen and Bsloki , We can implements Importer to act as custom importer.

Community article showing this is :- 

Link: https://helpx.adobe.com/experience-manager/using/polling.html

//It covers how to create a custom AEM data importer service that is able to import data at specific intervals and using a cq:PollConfig mixin node. In this use case, this method is invoked based on an interval property of acq:PollConfig mixin node.

 

Another Link :- http://www.citytechinc.com/us/en/blog/2014/07/creating-a-custom-content-importer-for-AEM.html

 

Option 2

We can import data from some text file or excel file also. Or we can create a restful API and can send any data in form of stream, json, xml anything.

Link:- https://helpx.adobe.com/experience-manager/using/creating-custom-excel-service-experience.html

 

I hope this would help you.

 

Thanks and Regards

Kautuk Sahni

Translate
Kautuk Sahni