Issue with Experience fragment | Community
Skip to main content
Level 3
October 6, 2023
Solved

Issue with Experience fragment

  • October 6, 2023
  • 3 replies
  • 868 views

Hi,

Thank you in advance.! 🙂

 

We have recently created an experience fragment for 1 component which is used in different pages.

we have replaced that component in all the pages with this newly created experience fragment.

we have done for "language-master" pages.

 

After rolling out this "language-master" pages to live copies, newly created experience fragment also got rolled out, here comes the problem... once published live copies, in website, XF authored links are not being changed to respective live-copy links, the XF authored links were "language-master" links. same got rolled out to live-copies and accessed via website and got an error.

 

we want this experience fragment authored links to be updated depends on the live-copy's country code as how it is working for normal pages. how to achieve this?

 

Thanks again.! 🙂

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 A_H_M_Imrul

@aj_9625932 

When observing the behavior of a live content copy, it actively supports the rollout feature, ensuring that any changes made to the master copy are automatically reflected in the live copy. However, when it comes to experience fragments, this feature is not available.  You need to create live copy of the experience fragment as well and reference it accordingly

Please refer to this existing thread: https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/how-were-experience-fragment-language-masters-intended-to-be/td-p/368037#M76548

3 replies

A_H_M_Imrul
Community Advisor
A_H_M_ImrulCommunity AdvisorAccepted solution
Community Advisor
October 7, 2023

@aj_9625932 

When observing the behavior of a live content copy, it actively supports the rollout feature, ensuring that any changes made to the master copy are automatically reflected in the live copy. However, when it comes to experience fragments, this feature is not available.  You need to create live copy of the experience fragment as well and reference it accordingly

Please refer to this existing thread: https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/how-were-experience-fragment-language-masters-intended-to-be/td-p/368037#M76548

aanchal-sikka
Community Advisor
Community Advisor
October 9, 2023

Hello @aj_9625932 

 

The link correction doesn't happen in case of Rollout.

Option-1: Create custom rollout configs for link replacements

Option-2: Create Localization utils such that the links rendered by components are localized by Sling Models, based on the current page.

Aanchal Sikka
kautuk_sahni
Community Manager
Community Manager
October 9, 2023

@aj_9625932 Did you find the suggestions from users helpful? Please let us know if more information is required. Otherwise, please mark the answer as correct for posterity. If you have found out solution yourself, please share it with the community.

Kautuk Sahni