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
BedrockMission!

Learn More

View all

Sign in to view all badges

View an external .csv file at a site of an AEM project

Avatar

Avatar
Validate 1
Level 1
maxq7501091
Level 1

Likes

2 likes

Total Posts

9 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
Applaud 5
View profile

Avatar
Validate 1
Level 1
maxq7501091
Level 1

Likes

2 likes

Total Posts

9 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
Applaud 5
View profile
maxq7501091
Level 1

20-07-2017

Hi,

I would have a general question of the architecture ob my AEM application.

I have to do a simple task -> show an external .csv file at a page of an AEM application - there should be no author actions or something else.

Currently I am not clear how to develop it - should I create a Component where I will load the csv over a javascript file or is it better to make an OSGi Bundle which loads the data and I access the bundle over REST- Service or ...

I would be glad for any hint in this direction.

Thanks a lot!

View Entire Topic

Avatar

Avatar
Boost 5
Level 4
zeeshank1500736
Level 4

Likes

28 likes

Total Posts

103 posts

Correct Reply

33 solutions
Top badges earned
Boost 5
Boost 3
Boost 25
Boost 10
Boost 1
View profile

Avatar
Boost 5
Level 4
zeeshank1500736
Level 4

Likes

28 likes

Total Posts

103 posts

Correct Reply

33 solutions
Top badges earned
Boost 5
Boost 3
Boost 25
Boost 10
Boost 1
View profile
zeeshank1500736
Level 4

23-07-2017

No need to store this data into component as you say data is very dynamic any time can change so on component load it will fetch the .csv file directly and display it.

Using Js :You can look this url to fetch .csv and display in HTml like table from Js.

http://bl.ocks.org/ndarville/7075823 .

Using Java : From java WcmUSe class you will return map or list based on that which datastructure will fullfill your need and iterate that list or map into your component and display the data either in table format or whatever ways you want to display.

Thnaks