Expand my Community achievements bar.

SOLVED

AEM Custom Importer

Avatar

Level 2

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.

1 Accepted Solution

Avatar

Correct answer by
Level 10
3 Replies

Avatar

Correct answer by
Level 10

Avatar

Level 10

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

Avatar

Administrator

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



Kautuk Sahni