Expand my Community achievements bar.

SOLVED

Modify Live copy source path

Avatar

Level 3

Hi,

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

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

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

View solution in original post

2 Replies

Avatar

Community Advisor

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.

Esteban666_0-1688661061436.png

 



Esteban Bustamante

Avatar

Correct answer by
Community Advisor

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