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

how to manage experience fragment reference in live copy

adivj95
Level 1
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
Jörg_Hoh
Correct answer by
Employee
Employee

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.

View solution in original post

5 Replies
Jörg_Hoh
Correct answer by
Employee
Employee

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.

View solution in original post

adivj95
Level 1
Level 1
Thanks for suggestions ,I will try to implement this
Shashi_Mulugu
Community Advisor
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...

 

 

 

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