내 커뮤니티 업적 표시줄을 확대합니다.

Submissions are now open for the 2026 Adobe Experience Maker Awards.

Mark Solution

활동이 없어 이 대화는 잠겼습니다. 새 게시물을 작성해 주세요.

해결됨

Experience Fragment | localizedFragmentVariationPath | for non-standard region/language sites

Avatar

Level 4

Hello team,

We have site structure in AEM like "/content/project-site/eu/en" where as EU is europe region and EN -english site. Similarly corresponding XF structure -  Experience Fragment structure "/content/experience-fragments/project-site/eu/en/site"

 

and for German site "/content/project-site/eu/de" and XF - "/content/experience-fragments/project-site/eu/de/site".

We are using AEM SPA with reactJs to render the pages. 

 

Issue is model.json always have XF localizedFragmentVariants - "/content/experience-fragments/project-site/eu/en/site" for EU/DE site.

 

Expected localized fragment variants path for site "/content/project-site/eu/de" must be "/content/experience-fragments/project-site/eu/de/site".

 

Please let me know how we can achieve this retrieving language specific XF for EU/DE site.

We have achieved this for multipage sites but not finding way to customize for SPA pages where data exported via model.json.

 

Quick responses much appreciated. thanks

1 채택된 해결책 개

Avatar

정확한 답변 작성자:
Level 4

Hello, resolved the issue by extending the abstract class "AbstractComponentImpl" and implementing "ExperienceFragment" interface.

 

and we need to override the methods "getLocalizedFragmentVariationPath()" and getChildren() methods.

원본 게시물의 솔루션 보기

1 답변 개

Avatar

정확한 답변 작성자:
Level 4

Hello, resolved the issue by extending the abstract class "AbstractComponentImpl" and implementing "ExperienceFragment" interface.

 

and we need to override the methods "getLocalizedFragmentVariationPath()" and getChildren() methods.