Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

Import data to AEM/CQ5 from a CVS repository.

varuns46785756
Level 5
Level 5

Hi,

I need  to import data to AEM/CQ from a CVS repository. Could you please guide me to achieve this.

 

 

Regards,

Varun

1 Accepted Solution
smacdonald2008
Correct answer by
Level 10
Level 10

To perform that use case -- you will need to perform several tasks:

1 - write application logic using a Java API to read data from the CVS repo. I suggest using an API like this: http://javacvs.sourceforge.net.

2 - next when you get the Java working - you need to place the application logic into an OSGi bundle. This represents a custom AEM service. 

3 - Deploy the bundle. 

If you are not familiar with how to build OSGi bundles - see this community article:

http://helpx.adobe.com/experience-manager/using/first-osgi.html

Here is an example of building a custom AEM Service that is able to import data into AEM from Excel - it gives you an idea of how to build a custom service that imports data:

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

In your use case - instead of using the Excel Java API - you will use a Java API that can import data from a CVS repos.

View solution in original post

2 Replies
smacdonald2008
Correct answer by
Level 10
Level 10

To perform that use case -- you will need to perform several tasks:

1 - write application logic using a Java API to read data from the CVS repo. I suggest using an API like this: http://javacvs.sourceforge.net.

2 - next when you get the Java working - you need to place the application logic into an OSGi bundle. This represents a custom AEM service. 

3 - Deploy the bundle. 

If you are not familiar with how to build OSGi bundles - see this community article:

http://helpx.adobe.com/experience-manager/using/first-osgi.html

Here is an example of building a custom AEM Service that is able to import data into AEM from Excel - it gives you an idea of how to build a custom service that imports data:

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

In your use case - instead of using the Excel Java API - you will use a Java API that can import data from a CVS repos.