Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

SOLVED

MSM : adjust href in localized XF

manal-ghanim
Level 2
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
kimonp31365843
Correct answer by
Level 4
Level 4

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
Ravi_Pampana
Community Advisor
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.

kimonp31365843
Correct answer by
Level 4
Level 4

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