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
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Adobe Summit 2023 [19th to 23rd March, Las Vegas and Virtual] | Complete AEM Session & Lab list
SOLVED

how to manage experience fragment reference in live copy

Avatar

Level 1

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

0 Replies

Avatar

Correct answer by
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 1
Thanks for suggestions ,I will try to implement this

Avatar

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 1
This only works if experience fragment configured on template but my requirement is for experience fragment configured in content