AEM Custom Importer | Community
Skip to main content
Level 2
October 26, 2015
Solved

AEM Custom Importer

  • October 26, 2015
  • 3 replies
  • 1125 views

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.

3 replies

edubey
edubeyAccepted solution
Level 10
October 26, 2015
Lokesh_Shivalingaiah
Level 10
October 26, 2015

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

kautuk_sahni
Community Manager
Community Manager
October 27, 2015

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