Multi Site Manager does not regenerate links for slave sites

Issue

When you use Multi Site Manager (MSM), the internal links in the master site don't get regenerated when copied to the slave sites. For example:

Master site : /content/designground/en
Slave site : /content/designground/tr
Constraint : Auto Create Linked-Content

In /content/designground/en/company.html, there is an internal link to /content/designground/en/people.html.

When /content/designground/en/company.html is copied over to slave site, the link still points to /content/designground/en/people.html.

Solution

Implement a MSM listener that catches the update event on the slaves and updates the links. There is a listener example that comes with a CQ installation. You can find this example in /apps/MultiSiteManager/src/MSMListenerExample.java

onAutoUpdate(Page master, Page slave, Constraint c) is the method that catches such events, so you implement your business use case here.

This listener is registered in /config/cms/msm/xml file. If you write your own MSM Listener. make sure that you register it in this configuration file.

Additional information

MSM does not update links automatically.

 Adobe

Dapatkan bantuan lebih cepat dan lebih mudah

Pengguna baru?

Adobe MAX 2024

Adobe MAX
Konferensi Kreativitas

14–16 Oktober Miami Beach dan online

Adobe MAX

Konferensi Kreativitas

14–16 Oktober Miami Beach dan online

Adobe MAX 2024

Adobe MAX
Konferensi Kreativitas

14–16 Oktober Miami Beach dan online

Adobe MAX

Konferensi Kreativitas

14–16 Oktober Miami Beach dan online