Expand my Community achievements bar.

SOLVED

how to manage experience fragment reference in live copy

Avatar

Level 3

I have a requirement where my site-structure is like this

/content

     --/mysite

              --/us(master)

                 --/en/page

              --/fr(live-copy)

                 --/en/page

on page i have a experience fragment which is pointing to 

/content/experience-fragments/mysite/us/en/xf

on fr site i want this experience fragment to be picked 

/content/experience-fragments/mysite/fr/en/xf

how can i achieve this??

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

@adivj95 if your requirement is just to pick up experience fragment based on locale OOTB experience Fragment component has inbuilt mechanism with in it.

https://experienceleague.adobe.com/docs/experience-manager-core-components/using/components/experien...

 

 

 

View solution in original post

5 Replies

Avatar

Employee Advisor

So you want to rewrite the references to XFs during the rollout in a way, that the rolled out page references XFs in a different (but computable) tree of the repo?  In that case you should create a custom rollout action and include this action in the rollout configuration.

Avatar

Level 3
Thanks for suggestions ,I will try to implement this

Avatar

Correct answer by
Community Advisor

@adivj95 if your requirement is just to pick up experience fragment based on locale OOTB experience Fragment component has inbuilt mechanism with in it.

https://experienceleague.adobe.com/docs/experience-manager-core-components/using/components/experien...

 

 

 

Avatar

Level 3
This only works if experience fragment configured on template but my requirement is for experience fragment configured in content