Modify Live copy source path | Community
Skip to main content
New Participant
July 6, 2023
Solved

Modify Live copy source path

  • July 6, 2023
  • 2 replies
  • 781 views

Hi,

How to modify existing source path from the Live copy and change to some other blueprint path

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 aanchal-sikka

Hello @helptech 

 

You can use a Groovy script to update the cq:LiveSyncConfig property. Hopefully curl command should also work.

https://sourcedcode.com/blog/aem/update-a-node-jcr-property-in-aem-with-curl 

 

Be cautious about following:

  • please make sure that the structure of source and LiveCopies are in sync.
  • Execute in Small batches
  • Take back up before updating properties.

 

2 replies

aanchal-sikka
aanchal-sikkaAccepted solution
New Participant
July 7, 2023

Hello @helptech 

 

You can use a Groovy script to update the cq:LiveSyncConfig property. Hopefully curl command should also work.

https://sourcedcode.com/blog/aem/update-a-node-jcr-property-in-aem-with-curl 

 

Be cautious about following:

  • please make sure that the structure of source and LiveCopies are in sync.
  • Execute in Small batches
  • Take back up before updating properties.

 

Aanchal Sikka
EstebanBustamante
New Participant
July 6, 2023

Technically you should not do that, but you can workaround if you are completely sure that's going to result ok from the cq:LiveSyncConfig node. Do it in a lower environment or testing first.

 

Esteban Bustamante