experience fragment template type, template | Community
Skip to main content
sreenu539
January 16, 2019
Solved

experience fragment template type, template

  • January 16, 2019
  • 4 replies
  • 2080 views

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

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Gaurav-Behl

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

Would that help?

Page Templates - Editable

4 replies

Gaurav-Behl
January 16, 2019

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.

smacdonald2008
January 16, 2019

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

sreenu539
sreenu539Author
January 17, 2019

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.

Gaurav-Behl
Gaurav-BehlAccepted solution
January 17, 2019

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

Would that help?

Page Templates - Editable