Hi AEM Community,
We want to have "recyclebin" kinda folder in our dam. We need to customize the delete action in AEM Assets. When we delete, the asset should basically be moved to a designated folder like "recyclebin". When someone deletes an asset it should get removed from its folder BUT NOT get deleted from the repo. It should move to recyclebin. Only select user should be allowed to access and delete asstes from recyclebin.
Any pointers please?
Thanks
RS
Solved! Go to Solution.
Views
Replies
Total Likes
Its always recommended never change anything in /libs
This property will be added to individual asset which will be sent to recycle bin,
I guess, it will not required java changes,
Take a look at this menu, you need to add one option here for sending to recycle bin, once user click that, remove asset from view and add a property to it
To get details knowledge,
See these documentation which talks about customization of touch ui console
https://docs.adobe.com/docs/en/aem/6-0/develop/extending/customizing-consoles-touch.html
https://docs.adobe.com/docs/en/aem/6-0/develop/extending/customizing-page-authoring-touch.html
Views
Replies
Total Likes
Hi,
AFAIK, There is no ootb feature for these type of implementation.
You need to do for few customizations.
1. Add a option for every asset to send it to recycle bin
2. When user add asset to recycle bin, you can probably add a property to asset to identify. Once property for recycle bin = true is added, do not show this asset in will all normal assets. Remove the delete option for all users from menu now.
3. Create a new section/folder called Recyclybin Section where fetch all assets have recycle bin property as true. and give only relevant access to this folder
Thanks
Views
Replies
Total Likes
Hi @edubey.
Thanks a lot.
Where in the /libs files should I add this check to be able to by default show only recycle-bin = false/null for Touch UI?
Can this be done by changes in jsp/js files only? or backend java changes also required?
Would really appreciate if you could guide.
Views
Replies
Total Likes
Its always recommended never change anything in /libs
This property will be added to individual asset which will be sent to recycle bin,
I guess, it will not required java changes,
Take a look at this menu, you need to add one option here for sending to recycle bin, once user click that, remove asset from view and add a property to it
To get details knowledge,
See these documentation which talks about customization of touch ui console
https://docs.adobe.com/docs/en/aem/6-0/develop/extending/customizing-consoles-touch.html
https://docs.adobe.com/docs/en/aem/6-0/develop/extending/customizing-page-authoring-touch.html
Views
Replies
Total Likes
Hi,
Can you please share steps how did you implement this approach of adding Recycle bin for assets?
Thanks.
Views
Replies
Total Likes
Views
Like
Replies