Limit the number of assets being activated in DAM in Classic UI | Community
Skip to main content
SumanthNarra
Level 2
January 10, 2018
Solved

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

  • January 10, 2018
  • 6 replies
  • 2138 views

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.
Best answer by edubey

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

Tuhin_Ghosh
Level 8
January 10, 2018

Hi,

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

Thanks

SumanthNarra
Level 2
January 11, 2018

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.

kautuk_sahni
Community Manager
Community Manager
January 12, 2018

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
SumanthNarra
Level 2
January 12, 2018

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.

edubey
edubeyAccepted solution
Level 10
January 14, 2018

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

SumanthNarra
Level 2
January 14, 2018

Thanks edubey