Expand my Community achievements bar.

SOLVED

Issue with Experience fragment

Avatar

Level 3

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.!

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

@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-fragme...

View solution in original post

3 Replies

Avatar

Correct answer by
Community Advisor

@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-fragme...

Avatar

Community Advisor

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

Avatar

Administrator

@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