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
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

AEM Sites - Change sling:resourceType of the live copy created from a blueprint

RitendraS11
Level 2
Level 2

Hi Team,

I am trying to use the same content onto a different site by creating a livecopy.

I wanted to change the sling:resourceType of the pages created using livecopy (it has different sling:resourceType due to difference in site structure and page resource type).

I have referred page for my reference - https://experienceleague.adobe.com/docs/experience-manager-65/administering/introduction/msm-sync.ht...

 

What I did?

Created a rollout config with liveSyncAction editProperties

Added the regex to change the sling:resourceType as mentioned in the document.

 

Please help if anyone is using it and guide me to achieve the requirement. Thanks for your time and helping me!

1 Accepted Solution
SivaPrasadReddyS
Correct answer by
Level 8
Level 8

I think you're on right direction. Yes, Live copy is the option when you wanted to share the similar content across multiple sites and add appropriate rollout configurations as mentioned in the doc (Adobe doc which you're referring)to meet various project requirements.

 

Thanks

 

View solution in original post

3 Replies
RitendraS11
Level 2
Level 2

I have found the reason for the mentioned issue - sling:resourceType is not getting updated as it was excluded in "CQ MSM Content Update Action" config. When I removed it from the exclusion list, everything works!

 

Wanted to know if this is the correct way OR we can restrict it for some specific sites. Any idea/thoughts are welcome!

SivaPrasadReddyS
Correct answer by
Level 8
Level 8

I think you're on right direction. Yes, Live copy is the option when you wanted to share the similar content across multiple sites and add appropriate rollout configurations as mentioned in the doc (Adobe doc which you're referring)to meet various project requirements.

 

Thanks

 

View solution in original post

Bimmi_Soi
Community Advisor
Community Advisor

Hi @RitendraS11 ,

 By default sling, cq and jcr excluded from rollout.

You can update the CQ MSM Content Update Action configuration in ConfigMgr to include sling:resourceType.

In the below blog I have updated for jcr:title and jcr:description, you can similarly do for sling:resourceType.

 

https://bimmisoi.blogspot.com/2020/08/page-properties-not-getting-inherited.html

 

Hope this helps!!!

Thanks