How to get Asset without renditions in public instance after activation of Asset in Author instance? | Community
Skip to main content
vasimakram
Level 4
October 16, 2015
Solved

How to get Asset without renditions in public instance after activation of Asset in Author instance?

  • October 16, 2015
  • 3 replies
  • 903 views

I have a asset in my dam folder. After activating this dam asset i am getting the asset in publish instance along with the rendition node. How to restrict that node.

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 Sham_HC

Three Options

  1. Exclude renditions with an ACL and a glob restriction.
  2. Create an own content builder that would filter out the content.
  3. If aem6 file a daycare request asking dam fp3 & I believe it has option to configure the filter for replication agent.

3 replies

Sham_HC
Sham_HCAccepted solution
Level 10
October 16, 2015

Three Options

  1. Exclude renditions with an ACL and a glob restriction.
  2. Create an own content builder that would filter out the content.
  3. If aem6 file a daycare request asking dam fp3 & I believe it has option to configure the filter for replication agent.
vasimakram
Level 4
October 16, 2015

One more option is event handler. Keep one bundle which contains eventhandler code in publish instance system console. When ever a new node created it will check weather node type is dam:asset or not. If it is then it will delete that renditions node.

Sham_HC
Level 10
October 16, 2015

Adobe experience manager wrote...

One more option is event handler. Keep one bundle which contains eventhandler code in publish instance system console. When ever a new node created it will check weather node type is dam:asset or not. If it is then it will delete that renditions node.

 

The only valid use use I found so far for such implementation is to save disk space though it is very cheap now a days.  With above solution you have tripled disk space until dcgc/tar optimization is run.