AEM Sites - Change sling:resourceType of the live copy created from a blueprint | Community
Skip to main content
RitendraS11
Level 4
November 7, 2021
Solved

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

  • November 7, 2021
  • 2 replies
  • 1474 views

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.html?lang=en

 

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!

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 Siva_Sogalapalli

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

 

2 replies

RitendraS11
Level 4
November 8, 2021

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!

Siva_Sogalapalli
Community Advisor
Siva_SogalapalliCommunity AdvisorAccepted solution
Community Advisor
November 8, 2021

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

 

Adobe Employee
November 9, 2021

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