how to read data from excel sheet in xlsx by uploading in dam and create tags automatically by servlet? | Community
Skip to main content
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Anmol_Bhardwaj

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.

1 reply

Anmol_Bhardwaj
Community Advisor
Community Advisor
April 26, 2022

Here's what I would do:

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

 

 

April 26, 2022

but if we have to make it with event handle then?

Anmol_Bhardwaj
Community Advisor
Anmol_BhardwajCommunity AdvisorAccepted solution
Community Advisor
April 27, 2022

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.