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

migrate to EXPERIENCE FRAGMENT STRUCTURE COMPONENT to SITE STRUCTURE COMPONENT

Avatar

Avatar
Validate 1
Level 1
karthick1356
Level 1

Likes

0 likes

Total Posts

14 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile

Avatar
Validate 1
Level 1
karthick1356
Level 1

Likes

0 likes

Total Posts

14 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile
karthick1356
Level 1

25-02-2021

Hi all,

i'm facing a challenge to migrate to EXPERIENCE FRAGMENT STRUCTURE COMPONENT to SITE STRUCTURE COMPONENT.

kindly anyone guide me

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Boost 500
MVP
Vijayalakshmi_S
MVP

Likes

510 likes

Total Posts

645 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

510 likes

Total Posts

645 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

26-02-2021

Hi @karthick1356,

XF page is created using editable template created out of page component that is inheriting from /libs/cq/experience-fragments/components/xfpage

Site pages are created using editable template created out of page component that is inheriting from core v2 page - core/wcm/components/page/v2/page

If you are trying to include created XF pages as part of site pages, make use of Experience Fragment from General Component Group (has option to include the created XF variation)

Please do let know if you are looking for any specific information in particular.

Answers (2)

Answers (2)

Avatar

Avatar
Validate 1
MVP
Umesh_Thakur
MVP

Likes

147 likes

Total Posts

157 posts

Correct Reply

53 solutions
Top badges earned
Validate 1
Applaud 25
Ignite 3
Ignite 1
Give Back 5
View profile

Avatar
Validate 1
MVP
Umesh_Thakur
MVP

Likes

147 likes

Total Posts

157 posts

Correct Reply

53 solutions
Top badges earned
Validate 1
Applaud 25
Ignite 3
Ignite 1
Give Back 5
View profile
Umesh_Thakur
MVP

01-03-2021

Hi @karthick1356 ,

In we retail demo site we have one demo structure component at /apps/weretail/components/structure/xfpage path so if you want to create the xf editable template, it will be better to copy it from the we retail and paste it in your project path and then do the necessary change as per your requirement like adding client libs, adding extra config pages an all.

Then you need to create a template type in your project's conf path and then create editable template based on the created template type.

Now you are all set to create xf by allowing template path in the /content/experience-fragments/..... path then you can go ahead with that.

 

Use above created xf with experience fragment core component on page or wherever you want.

 

Hope this will help.

Umesh Thakur

 

Avatar

Avatar
Springboard
Level 7
KiranVedantam1992
Level 7

Likes

172 likes

Total Posts

183 posts

Correct Reply

55 solutions
Top badges earned
Springboard
Give Back 5
Ignite 1
Affirm 50
Validate 1
View profile

Avatar
Springboard
Level 7
KiranVedantam1992
Level 7

Likes

172 likes

Total Posts

183 posts

Correct Reply

55 solutions
Top badges earned
Springboard
Give Back 5
Ignite 1
Affirm 50
Validate 1
View profile
KiranVedantam1992
Level 7

26-02-2021

Hi @karthick1356,

 

Experience Fragments are fully laid out content; a fragment of a web page. So it contains components inside it. If I understand your query correctly, you are wanting to use the components that are used inside the XF as separate site structure components.

 

To do that, go to the XF path, Ex: /content/experience-fragments/project/XF-name, check the list of components added there. Select the component that you are looking for and get its sling:resourceType --> path and use it elsewhere.

 

Hope this helps. If not please elaborate on your query.

 

Thanks,

Kiran Vedantam.