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

AEM 6.3: experience fragments linking

Avatar

Avatar
Validate 10
Level 4
Jdruwe
Level 4

Likes

29 likes

Total Posts

113 posts

Correct Reply

7 solutions
Top badges earned
Validate 10
Validate 1
Boost 5
Boost 3
Boost 25
View profile

Avatar
Validate 10
Level 4
Jdruwe
Level 4

Likes

29 likes

Total Posts

113 posts

Correct Reply

7 solutions
Top badges earned
Validate 10
Validate 1
Boost 5
Boost 3
Boost 25
View profile
Jdruwe
Level 4

14-02-2018

I am having trouble wrapping my head around an issue concerning experience fragments and linking. Let my simplify our setup.

- A blueprint page called 'team' @ '/content/platform-blueprints/company/en/team'

     - Page contains a simple link component that refers to '/content/platform-blueprints/company/en/founder' (lets refer to this as the founder-link-component)

- A rollout LiveCopy page @ '/content/www-company-com/en/team'

     - Page contains a founder-link-component that refers to '/content/www-company-com/en/founder'

As you can see the rollout automatically converted '/content/platform-blueprints/company/en/founder' into '/content/www-company-com/en/founder' as expected. Now lets insert experience fragments.

I want to shift the founder-link-component into an experience fragment because it's reused on multiple pages (outside of the 'team' page). So now I have an experience fragment with a founder-link-component linking to '/content/platform-blueprints/company/en/founder'. I can include the experience fragment in my page @ '/content/platform-blueprints/company/en/team' but things start to get 'annoying' when I open the LiveCopy page: the founder-link-component (from inside the experience fragment) still links to '/content/platform-blueprints/company/en/founder' and NOT to '/content/www-company-com/en/founder'.

Is there any way to make this work or is this just how experience fragments are designed? Thanks in advance!

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Establish
Community Manager
kautuk_sahni
Community Manager

Likes

1,162 likes

Total Posts

6,273 posts

Correct Reply

1,144 solutions
Top badges earned
Establish
Coach
Originator
Contributor 2
Contributor
View profile

Avatar
Establish
Community Manager
kautuk_sahni
Community Manager

Likes

1,162 likes

Total Posts

6,273 posts

Correct Reply

1,144 solutions
Top badges earned
Establish
Coach
Originator
Contributor 2
Contributor
View profile
kautuk_sahni
Community Manager

22-02-2018

Reply from the team:

It is working as designed as experience fragment itself a reference to page and might be used on multiple pages so on rollout the reference inside an experience fragments cannot be changed.

-Kautuk

Answers (8)

Answers (8)

Avatar

Avatar
Give Back
Level 1
sreenivasb1988
Level 1

Likes

2 likes

Total Posts

3 posts

Correct Reply

0 solutions
Top badges earned
Give Back
Boost 1
View profile

Avatar
Give Back
Level 1
sreenivasb1988
Level 1

Likes

2 likes

Total Posts

3 posts

Correct Reply

0 solutions
Top badges earned
Give Back
Boost 1
View profile
sreenivasb1988
Level 1

11-07-2020

Avatar

Avatar
Level 1
crata
Level 1

Likes

0 likes

Total Posts

3 posts

Correct Reply

0 solutions
View profile

Avatar
Level 1
crata
Level 1

Likes

0 likes

Total Posts

3 posts

Correct Reply

0 solutions
View profile
crata
Level 1

29-01-2020

Hey @Jdruwe ,

 

We found the following work around for a similar problem, but it requires a CDN infrastructure that hits and F5 or alike, so that the page can safely redirect.  Our problem was similar, but for region and country specific pages.

 

The F5 provide geo-targeting to the correct country by providing the experience fragment the external link rather than following the content tree.

 

(Note; for the following example I have changed out references to our website address with xxxx)

 

So instead of /content/xxxx/language-masters/en/careers.html

I used https://www.xxxx.com/careers.html

 

Deleting this section of the external URL /language-masters/en/ means the F5 can pick up the location of the user to ensure they land on the correct page.  Other wise we would have had to change our experience fragments for all pages for 27 countries, equating to 24,000 pages.

 

You may be able to simply use the external URL instead.

Avatar

Avatar
Validate 1
Level 1
samikshaa223429
Level 1

Likes

0 likes

Total Posts

30 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Give Back
View profile

Avatar
Validate 1
Level 1
samikshaa223429
Level 1

Likes

0 likes

Total Posts

30 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Give Back
View profile
samikshaa223429
Level 1

31-07-2018

hi ,

I am facing an similar issue . The all page links in my blueprint folder for eg. "/content/company_name/language-masters/en/careers/career-page.html " gets correcty transformed into the respective Live copy link on rollout and Publish like eg. "content/company_name/us/en/careers/career-page.html " or "content/company_name/in/en/careers/career-page.html"

however the links provided in experience-fragments are not getting tranformed . They still point to "/content/experience-fragments/company_name/language-masters/en/careers/exp1.html" .

I have enabled the "Update References accross nested Live Copies" in the System configuaration at com.day.cq.wcm.msm.impl.actions.ReferencesUpdateActionFactory

Please suggest another way of achieving this .

Avatar

Avatar
Validate 10
Level 4
Jdruwe
Level 4

Likes

29 likes

Total Posts

113 posts

Correct Reply

7 solutions
Top badges earned
Validate 10
Validate 1
Boost 5
Boost 3
Boost 25
View profile

Avatar
Validate 10
Level 4
Jdruwe
Level 4

Likes

29 likes

Total Posts

113 posts

Correct Reply

7 solutions
Top badges earned
Validate 10
Validate 1
Boost 5
Boost 3
Boost 25
View profile
Jdruwe
Level 4

21-02-2018

Yea that is what we are doing now, creating live copy variations and referring to the LiveCopy pages in those variations. This solution works but is still not really that great, I hope Adobe can fix this.

Avatar

Avatar
Boost 500
MVP
Vijayalakshmi_S
MVP

Likes

511 likes

Total Posts

647 posts

Correct Reply

213 solutions
Top badges earned
Boost 500
Give Back 50
Give Back 5
Ignite 10
Ignite 5
View profile

Avatar
Boost 500
MVP
Vijayalakshmi_S
MVP

Likes

511 likes

Total Posts

647 posts

Correct Reply

213 solutions
Top badges earned
Boost 500
Give Back 50
Give Back 5
Ignite 10
Ignite 5
View profile
Vijayalakshmi_S
MVP

21-02-2018

Thanks for the update. One alternative solution ( or as a workaround), we can create variations out of experience fragment - either as plain or variation itself as Live copy from the master/main fragment and have those variations referred for Live copy pages.

Variation of Fragment - (will have link component referring to the intended link)

Reference: Adobe Experience Manager Help | Using AEM Experience Fragments

Avatar

Avatar
Validate 10
Level 4
Jdruwe
Level 4

Likes

29 likes

Total Posts

113 posts

Correct Reply

7 solutions
Top badges earned
Validate 10
Validate 1
Boost 5
Boost 3
Boost 25
View profile

Avatar
Validate 10
Level 4
Jdruwe
Level 4

Likes

29 likes

Total Posts

113 posts

Correct Reply

7 solutions
Top badges earned
Validate 10
Validate 1
Boost 5
Boost 3
Boost 25
View profile
Jdruwe
Level 4

21-02-2018

I deleted the page in the LiveCopy and triggered a rollout to the LiveCopy again. It did not work, the 'founder-link-component' is still linking to the blueprint page.

Avatar

Avatar
Boost 500
MVP
Vijayalakshmi_S
MVP

Likes

511 likes

Total Posts

647 posts

Correct Reply

213 solutions
Top badges earned
Boost 500
Give Back 50
Give Back 5
Ignite 10
Ignite 5
View profile

Avatar
Boost 500
MVP
Vijayalakshmi_S
MVP

Likes

511 likes

Total Posts

647 posts

Correct Reply

213 solutions
Top badges earned
Boost 500
Give Back 50
Give Back 5
Ignite 10
Ignite 5
View profile
Vijayalakshmi_S
MVP

20-02-2018

Hi Jdruwe,

Can you try to create a new live copy page from the initial blueprint page again.

(could understand live copy page already has experience fragment available with link component in it.)

Not sure of the exact solution Just a try to see if experience fragments respects blueprint-live copy structure or common content to be displayed as is (in the fragment) across multiple pages

Avatar

Avatar
Validate 10
Level 4
Jdruwe
Level 4

Likes

29 likes

Total Posts

113 posts

Correct Reply

7 solutions
Top badges earned
Validate 10
Validate 1
Boost 5
Boost 3
Boost 25
View profile

Avatar
Validate 10
Level 4
Jdruwe
Level 4

Likes

29 likes

Total Posts

113 posts

Correct Reply

7 solutions
Top badges earned
Validate 10
Validate 1
Boost 5
Boost 3
Boost 25
View profile
Jdruwe
Level 4

20-02-2018

bump