AEM MSM rollout configuration - can I exclude pages based on a content Tag? | Community
Skip to main content
Level 2
March 28, 2016

AEM MSM rollout configuration - can I exclude pages based on a content Tag?

  • March 28, 2016
  • 1 reply
  • 10556 views

I was wondering if there is a way I can configured a custom rollout configuration only to rollout and update pages based on a Tag value that has been assigned.  I have looked through a lot of documentation and not seen this as a scenario.

Also, another option could be to try and leverage Package Manager but the same thing applies here, I see no way with the out of the box admin tools to create a package that is able to filter out or select pages based on the presence and value of a content Tag set within pae properties.

Any and all help is greatly appreciated!

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

1 reply

Kunal_Gaba_
March 28, 2016

Its possible but not very straight forward - You can write custom synchronization action and add it to a custom roll out config. That action can have the logic of copying the content only when a particular tag is set on the page properties. Basically you will have to write custom content update/delete/copy actions. 

By the way what is your use case. I could not understand how package manager is an alternate option. If you want to filter out all the pages which have a particular tag or may be create a package of those pages then you can use the Query Packager tool provided by AEM ACS team - http://adobe-consulting-services.github.io/acs-aem-commons/features/query-packager.html

gbolanisAuthor
Level 2
March 30, 2016

Hey, I just wanted to follow-up to see if I could get a little more clarification here because within the support documentation, a very specific question like this is hard to find use cases for.  I have admin access in AEM site admin as well as through CRX Lite.  I do not have deeper access within our webserver where the services reside.  

I was hoping there was a way too stipulation a condition/rule within CRX where I define the copy and update action nodes for a custom rollout configuration. Can this be done here or does it require changes inside the actual services (java class updates)?

Kunal_Gaba_
March 30, 2016

It definitely will require custom java code. The simpler solution I could think for this use case could be that you apply the rollout configuration on the live copy node dynamically as and when the tag is added to that node. You can either implement a custom workflow launcher or write a custom page modification event handler which will update the page properties by adding the custom roll out configuration.