Expand my Community achievements bar.

SOLVED

experience fragment template type, template

Avatar

Level 7

I would like to create custom experience fragment template type, template for customer site.

I do know, how to create editable template types from code to create custom editable template type.

How to create custom experience fragment template type, template ?

I am sure, this needs code changes and looking for a reference or an example.

Thanks,

Sri

1 Accepted Solution

Avatar

Correct answer by
Level 10

Copy & customize the experience fragment template and apply the required configurations in 'structure' & 'initial content' accordingly.

Would that help?

Page Templates - Editable

View solution in original post

4 Replies

Avatar

Level 10

Do you have a specific use case where OOB template type doesn't work?

You could create a copy of /conf/we-retail/settings/wcm/template-types/empty-experience-fragment and modify it appropriately, if required.

Avatar

Level 10

I agree with Gaurav - what advantage are you looking for that the OOTB does not have.

Avatar

Level 7

when a experience fragment created with custom experience fragment template, I would like to have custom styles applied, custom baked in components to appear rather than drag and drop components.

Avatar

Correct answer by
Level 10

Copy & customize the experience fragment template and apply the required configurations in 'structure' & 'initial content' accordingly.

Would that help?

Page Templates - Editable