Limit the number of assets being activated in DAM in Classic UI | Community
Skip to main content
SumanthNarra
Level 2
Jan 10, 2018 9:21 PM UTC
Solved

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

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

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
edubey
edubeyAccepted solution
Level 10
Jan 14, 2018 5:56 AM UTC

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

6 replies

SumanthNarra
Level 2
Jan 14, 2018 6:01 AM UTC

Thanks edubey​

Translate
edubey
edubeyAccepted solution
Level 10
Jan 14, 2018 5:56 AM UTC

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

Translate
SumanthNarra
Level 2
Jan 12, 2018 4:56 PM UTC

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.

Translate
kautuk_sahni
Employee
Jan 12, 2018 6:35 AM UTC

Duplicate Question:- Restrict number of assets activation

edubey reply is the way to go.

Or you can create a custom workflow to achieve this.

Translate
Kautuk Sahni
SumanthNarra
Level 2
Jan 11, 2018 4:12 PM UTC

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.

Translate
Tuhin_Ghosh
Level 8
Jan 10, 2018 10:26 PM UTC

Hi,

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

Thanks

Translate