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 28, 2016

I was trying to create exactly this rollout and update scenario where a particular tag is set within the page properties.  i believe within the update/copy actions, i have to define this as a condition within the custom node properties of this action i am defining with CRX (etc/msm/rolloutconfigs).  can you illustrate how the dependency would be written here to say "copy" a page as part of rollout buyt only when the page had a tag that said "RolloutAllowed".

The use case I am addressing is where we are we have a MSM configuration with a series of international websites where we rollout using live copies from the US site into various country sites.  the webmaster here wants to device a way where she might simplify her ongoing rollout and syncing tasks.  Node exclusions will not work here, so the idea was to tag the pages with countries that will use it and then allow the rollout and live copy syncing actions take control from there.

Does this makes sense?  Oh, and thank you very much for you quick reply (and being the general answer I wanted to hear!).