Expand my Community achievements bar.

Learn about Edge Delivery Services in upcoming GEM session
SOLVED

how to read data from excel sheet in xlsx by uploading in dam and create tags automatically by servlet?

Avatar

Level 1
 
1 Accepted Solution

Avatar

Correct answer by
Community Advisor

It's pretty much the same thing,

if you have to use event handler instead, 

Instead of step 1 & 2, what you need to do is,

  • Create event handler with
Event.NODE_ADDED

 for the required DAM path.

  • Then , you can use the event.getPath() method to get the path of the affected item. E.g. the added/removed node or the property that was added/removed/changed.
  • After that, it's the same steps.

View solution in original post

3 Replies

Avatar

Community Advisor

Here's what I would do:

Assuming, the XLS files would be uploaded in a particular folder in the DAM.

 

 

Avatar

Correct answer by
Community Advisor

It's pretty much the same thing,

if you have to use event handler instead, 

Instead of step 1 & 2, what you need to do is,

  • Create event handler with
Event.NODE_ADDED

 for the required DAM path.

  • Then , you can use the event.getPath() method to get the path of the affected item. E.g. the added/removed node or the property that was added/removed/changed.
  • After that, it's the same steps.