Expand my Community achievements bar.

SOLVED

Limit the number of assets being activated in DAM in Classic UI

Avatar

Level 2

Hello

We are customizing DAM Assets both in Touch and Classic to limit number of Assets while activating the assets folder. I'm able to find publishasset.js (/libs/dam/gui/components/admin/publish/clientlibs/publishasset/publishasset.js) which is responsible for action happens on publishing asset folder but I'm not able to find the same in Classic UI.

Thanks

Sumanth

1 Accepted Solution

Avatar

Correct answer by
Level 10

For siteadmin action files in classic ui, you can refer to

/libs/cq/ui/widgets/source/widgets/wcm

/libs/cq/ui/widgets/source/widgets/wcm/SiteAdmin.Actions.js

View solution in original post

6 Replies

Avatar

Level 7

Hi,

What is your use case, also looking at ReplicationHandler might be useful for your scenario.

Thanks

Avatar

Level 2

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 (I'm able to do in Touch UI DAM) finding for Classic UI DAM file.

Avatar

Administrator

Duplicate Question:- Restrict number of assets activation

edubey reply is the way to go.

Or you can create a custom workflow to achieve this.



Kautuk Sahni

Avatar

Level 2

I can achieve by doing edubey​ said in Touch UI trying to implement same way in Classic UI DAM, but unable to find JS file.

Avatar

Correct answer by
Level 10

For siteadmin action files in classic ui, you can refer to

/libs/cq/ui/widgets/source/widgets/wcm

/libs/cq/ui/widgets/source/widgets/wcm/SiteAdmin.Actions.js