Asset move/delete button functionalities customization | Community
Skip to main content
New Participant
May 31, 2019
Solved

Asset move/delete button functionalities customization

  • May 31, 2019
  • 3 replies
  • 3130 views

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

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 cquser1

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.

3 replies

shamks007
New Participant
December 24, 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 

New Participant
June 7, 2019

Thanks, this worked!!

cquser1
cquser1Accepted solution
New Participant
June 3, 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.