Expand my Community achievements bar.

Guidelines for the Responsible Use of Generative AI in the Experience Cloud Community.
SOLVED

How to exclude custom property when creating new live copies

Avatar

Level 9

I want to exclude one of my custom property during rollout. I have used CQ MSM Content Update Action service to exclude the custom property. This works as expected in master and existing live copies. But If I create a new live copy from master then it is not excluding the property, I see the property is being copied from master to new live copy that is created.

 

Is there way to exclude property while creating new live-copy from master?

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

@Mario248 you can use below property

 

you can do like below code

 

{
"cq.wcm.msm.action.excludednodetypes":[
"cq:LiveSyncConfig",
"cq:BlueprintSyncConfig",
"cq:LiveSyncAction",
"cq:CatalogSyncConfig",
"cq:CatalogSyncAction",
"cq:meta"
],
"cq.wcm.msm.action.excludedparagraphitems":[
"cq:propertyInheritanceCancelled",
"dc:title",
"cq:targetMetadata"
],
"cq.wcm.msm.action.ignoredMixin":[
".*"
],
"cq.wcm.msm.action.excludedprops":[
"jcr:.*",
"sling:(?!(resourceType|resourceSuperType)$).*",
"cq:(?!(designPath|template|lastTranslationUpdate|targetEngine|redirectTarget)$).*",
"publishCampaignId"
]
}

 

 

Excluded Page Properties

cq.wcm.msm.action.excludedprops

A regular expression that matches the page properties to be excluded from the synchronization action.

 

View solution in original post

1 Reply

Avatar

Correct answer by
Community Advisor

@Mario248 you can use below property

 

you can do like below code

 

{
"cq.wcm.msm.action.excludednodetypes":[
"cq:LiveSyncConfig",
"cq:BlueprintSyncConfig",
"cq:LiveSyncAction",
"cq:CatalogSyncConfig",
"cq:CatalogSyncAction",
"cq:meta"
],
"cq.wcm.msm.action.excludedparagraphitems":[
"cq:propertyInheritanceCancelled",
"dc:title",
"cq:targetMetadata"
],
"cq.wcm.msm.action.ignoredMixin":[
".*"
],
"cq.wcm.msm.action.excludedprops":[
"jcr:.*",
"sling:(?!(resourceType|resourceSuperType)$).*",
"cq:(?!(designPath|template|lastTranslationUpdate|targetEngine|redirectTarget)$).*",
"publishCampaignId"
]
}

 

 

Excluded Page Properties

cq.wcm.msm.action.excludedprops

A regular expression that matches the page properties to be excluded from the synchronization action.