Expand my Community achievements bar.

SOLVED

MSM : adjust href in localized XF

Avatar

Level 2

Hi,

We have been working on XF structure in order to make it similar to the main site structure for MSM which comes with regions and languages.

XFs, contain links which are not adjusted when creating live-copies. The href shows the path for the blueprint instead of the corresponding path in live copies pages.

What is an easy way to have the links in XFs reflect the livecopy path ?

Thank you,

1 Accepted Solution

Avatar

Correct answer by
Adobe Champion

I think the LCs of XFS should have their respective "local" links adjusted automatically upon rollout. You can try to see the behaviour of these with an AEM Vanilla installation + WKND sample content.

 

Check if you have nested LCs in the target XFs, you might need to adjust the relevant OSGi config: https://experienceleague.adobe.com/docs/experience-manager-64/administering/introduction/msm-sync.ht... 

View solution in original post

3 Replies

Avatar

Community Advisor

Hi,

 

If you want to match the link url added in XF to match with the corresponding locale/live copy, easiest way is to add the logic in LinkTransformerFactory.java so the link will be updated while rendering the html but still point to the blueprint in AEM.

Avatar

Correct answer by
Adobe Champion

I think the LCs of XFS should have their respective "local" links adjusted automatically upon rollout. You can try to see the behaviour of these with an AEM Vanilla installation + WKND sample content.

 

Check if you have nested LCs in the target XFs, you might need to adjust the relevant OSGi config: https://experienceleague.adobe.com/docs/experience-manager-64/administering/introduction/msm-sync.ht...