Expand my Community achievements bar.

Enhance your AEM Assets & Boost Your Development: [AEM Gems | June 19, 2024] Improving the Developer Experience with New APIs and Events
SOLVED

While deleting an assets in AEM DAM, can we move it to a specific folder within DAM?

Avatar

Level 1

while deleting an asset in AEM DAM, instead of asset getting deleted is there a way to move it to a specific folder within DAM.
Tried creating a launcher having 'Event type' as 'removed' and triggered a custom workflow to get the payload and tried to fetch asset from the payload. Although, I got the payload but when trying to move asset, getting null because asset no longer exists.

Looking for some alternate solution.

Thanks,

Himanshu

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

@Himanshu_0310 

Please follow the Accepted Solution to implement your usecase - 

 

https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/on-deletion-how-to-get-the...

 

In one of my project, I overlayed Delete Button action, and invoked custom workflow, instead of triggering an OOTB Delete functionality.

View solution in original post

1 Reply

Avatar

Correct answer by
Employee Advisor

@Himanshu_0310 

Please follow the Accepted Solution to implement your usecase - 

 

https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/on-deletion-how-to-get-the...

 

In one of my project, I overlayed Delete Button action, and invoked custom workflow, instead of triggering an OOTB Delete functionality.