Hi there,
tl;dr: Is there any way to extend/intercept the creation or deletion of an Asset in the new Assets UI and to prevent it based on some conditions?
We have 2 requirements:
Both of those requirements have the need to intercept and to customize the default behavior of uploading and deleting assets. I didn't find any way to achieve this and want to know, if there even is a way to do this synchronously in the new Assets UI (not the "classic" AEM Touch UI).
Alternative approaches, we had a look at, which don't satisfy the customer's requirements:
Does anyone know, if there is a way to modify the default upload/delete behavior or maybe has some alternative ideas?
Thanks and best,
Anian
Solved! Go to Solution.
Topics help categorize Community content and increase your ability to discover relevant content.
Views
Replies
Total Likes
Hi @webera ,
No.
In the new Assets UI, there is no supported way to synchronously intercept or block asset upload or deletion based on custom conditions.
Upload/delete is handled by internal /adobe/repository APIs
No pre-hooks, no extension points
You cannot override or customize this behavior safely
Prevent deletion
Remove delete permission for users
Allow delete only via a custom service/action that checks 3rd-party usage first
Handle duplicate uploads
Use workflow / event listener after upload
Calculate SHA1
Auto-delete or flag duplicates and notify user
Conclusion:
Synchronous blocking in new Assets UI > not supported
Use permissions + controlled operations as the practical workaround
Thanks,
Vishal
Views
Replies
Total Likes
Hi @webera ,
No.
In the new Assets UI, there is no supported way to synchronously intercept or block asset upload or deletion based on custom conditions.
Upload/delete is handled by internal /adobe/repository APIs
No pre-hooks, no extension points
You cannot override or customize this behavior safely
Prevent deletion
Remove delete permission for users
Allow delete only via a custom service/action that checks 3rd-party usage first
Handle duplicate uploads
Use workflow / event listener after upload
Calculate SHA1
Auto-delete or flag duplicates and notify user
Conclusion:
Synchronous blocking in new Assets UI > not supported
Use permissions + controlled operations as the practical workaround
Thanks,
Vishal
Views
Replies
Total Likes
Hi @VishalKa5 ,
thanks for the fast response.
I already thought that there is no direct way to solve this. Thanks for the confirmation and also thanks for your input on the alternatives.
Best,
Anian
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies