This conversation has been locked due to inactivity. Please create a new post.
This conversation has been locked due to inactivity. Please create a new post.
Hi,
I need to restrict the number of assets activation in DAM i.e. if I activate folder with 100 assets in it then it should either activate a fixed number of assets like 30 at a time or it should display a pop-up message that this folder contains that number of assets.
Is there any way to achieve it?
I'm trying to figure out the file which triggers on "Activate" button click but not finding anything in particular.
Regards,
Sumanth
Solved! Go to Solution.
Views
Replies
Total Likes
that's makes it more clear. Thanks
as long a pop up is concerned there is no ootb way directly, though you can attach a click action on activate button which would be calling your custom servlet. Your servlet will be returning the count.
One more thing, instead of having custom servlet, you can .1.json to the path of parent asset to get count in client side directly.
You can leverage Granite framework for it- https://helpx.adobe.com/experience-manager/6-2/sites/developing/using/reference-materials/granite-ui...
Views
Replies
Total Likes
Can you explain your use case in more detail. Like what do you mean by "fixed number of assets like 30 at a time"?
Views
Replies
Total Likes
As per the requirement, as an Enhanced author, I should be able either get a warning popup when trying to activate hundreds of assets in DAM (images) or a whole folder so that it does not affect site performance.
So, basically what I'm looking here to implement it, if there're more than 100 assets in a folder and if I activate that particular folder. it should display a pop-up message stating these number of assets are there in a folder so the author will go into the folder and activate assets in chucks.
Views
Replies
Total Likes
that's makes it more clear. Thanks
as long a pop up is concerned there is no ootb way directly, though you can attach a click action on activate button which would be calling your custom servlet. Your servlet will be returning the count.
One more thing, instead of having custom servlet, you can .1.json to the path of parent asset to get count in client side directly.
You can leverage Granite framework for it- https://helpx.adobe.com/experience-manager/6-2/sites/developing/using/reference-materials/granite-ui...
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies