Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

AEM asset on page publish

Avatar

Avatar
Validate 1
Level 2
harishv99010453
Level 2

Likes

0 likes

Total Posts

16 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile

Avatar
Validate 1
Level 2
harishv99010453
Level 2

Likes

0 likes

Total Posts

16 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile
harishv99010453
Level 2

19-04-2018

As we all know, when we publish a page, AEM prompts to activate dam assets of that page as well.

I have a requirement where I shud stop publishing dam assets while publishing a page. Do we have any OOB options available?

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Validate 1
Level 4
Rima_Mittal
Level 4

Likes

30 likes

Total Posts

82 posts

Correct Reply

17 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 25
Boost 10
View profile

Avatar
Validate 1
Level 4
Rima_Mittal
Level 4

Likes

30 likes

Total Posts

82 posts

Correct Reply

17 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 25
Boost 10
View profile
Rima_Mittal
Level 4

20-04-2018

There is nothing OOTB available, this required some customization.

Please note that the references are fetched via a POST request to /libs/wcm/core/content/reference.json (probably there is a servlet registered via resource type) which takes a page path and return the references.

These references are then displayed on the publish wizard page, /libs/wcm/core/content/sites/publishpagewizard, via a clientlib at /libs/cq/gui/components/siteadmin/admin/publishwizard/clientlibs/js/wizard.js.

If you want to override the behaviour, then you might overlay the file at /libs/cq/gui/components/siteadmin/admin/publishwizard/references/references.jsp and at Line 92, where it fetches the references URL;

"String referencesUrl = cfg.get("referencesURL", "/libs/wcm/core/content/reference.json");"

you can create a custom servlet that will not include dam asset references.

Hope this helps!!!

Answers (1)

Answers (1)

Avatar

Avatar
Validate 1
Level 2
harishv99010453
Level 2

Likes

0 likes

Total Posts

16 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile

Avatar
Validate 1
Level 2
harishv99010453
Level 2

Likes

0 likes

Total Posts

16 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile
harishv99010453
Level 2

22-04-2018

Thanks for the inputs, appreciated. We have a similar kind of discussion.