DAM admin delete button functionality customization

Avatar

Avatar

radhakrishnan72

Avatar

radhakrishnan72

radhakrishnan72

23-01-2018

Hi everyone,

                     i am trying to customize delete button functionality. I copied  /libs/cq/ui/widgets/source/widgets/wcm/DamAdmin.Actions.js to /apps folder.

I have to call custom servlet, when delete button is hit for any asset/node deletion. It still calls out of the box delete logic internally. I could not find where exactly i have to call my servlet when delete button is clicked. Could anyone suggest me?

Thanks & Regards,

Radhakrishna

View Entire Topic

Avatar

Avatar

ramya_reddy

Avatar

ramya_reddy

ramya_reddy

05-02-2018

Hi edubey​,

We have a similar usecase to customize the delete functionality to move the assets to a trash can(another location in DAM) before the assets are deleted. We could handle the assets deleted from touch/classic UI by overlaying these JS files and calling our custom servlets.

But I wanted to check how could we handle the assets deleted by the users using the Desktop App? Do we have to overlay the actual delete servlet itself? Any pointers are greatly appreciated.

Thanks in advance!

Ramya