Modify Live copy source path | Community
Skip to main content
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

EstebanBustamante
Community Advisor and Adobe Champion
Community Advisor and Adobe Champion
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
aanchal-sikka
Community Advisor
aanchal-sikkaCommunity AdvisorAccepted solution
Community Advisor
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