Asset move/delete button functionalities customization

Avatar

Avatar

hemanth415

Avatar

hemanth415

hemanth415

31-05-2019

Hi,

     We have a requirement to perform few operations on the asset metadata when move/delete action is triggered in touch UI. To achieve these, we will have to overlay a few OOTB JS functions and have them call a custom servlet on the move/delete action.

Based on my initial assessment.

  • For asset move action, there is a need to tweak the below JS. (Not 100% sure.)
    /libs/dam/gui/coral/components/admin/moveassetwizard/clientlibs/js/wizard.js
  • I didn't find any exact JS in the JCR for the asset delete action.

AEM 6.3 is being used in our project.

Really appreciate the help here.

Thanks,

Hemanth

Reference: DAM admin delete button functionality customization

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

cquser1

Avatar

cquser1

cquser1

03-06-2019

Hi,

/libs/dam/gui/coral/components/admin/clientlibs/actions/js/delete.js is the js invoked when delete operation is performed on the asset.

As you have mentioned, you can make the changes you have mentioned here and it should work.

Answers (2)

Answers (2)

Avatar

Avatar

shamks007

Avatar

shamks007

shamks007

24-12-2019

Even I need some help for the same use case in sites page deletion, I am finding difficult to find where exactly the functionalities written for site page deletion. Please help me to resolve 

Avatar

Avatar

hemanth415

Avatar

hemanth415

hemanth415

07-06-2019

Thanks, this worked!!