Can we enable style system in static template?

ramaem12

22-06-2020

We have a requirement to create new components for one of my projects and utilize the style system. The client is currently using static templates for all of their pages, is there any way we can enable style system in static templates..
Is it possible, or is it only available in editable templates?

AEM 6.4 components Editable templates Templates

Accepted Solutions (1)

Accepted Solutions (1)

vaibhavi_235640

22-06-2020

Hi @ramaem12 

 

Style system is available for editable template. On static template this feature is not available. 

You can use one of the option below. 

1.Migrate the static template to editable template and make use of the feature

2.Go for custom implementation on static template. 

I would suggest option one but it depends on the number of existing pages you need to migrate from static to editable template. 

Answers (2)

Answers (2)

vanegi

Employee

22-06-2020

Style system is a feature of editable template to allow developers and template editors to create multiple visual variations of a component, see [0]. You can always migrate old static template to editable template to make use of this feature.

 

[0]: https://docs.adobe.com/content/help/en/experience-manager-65/developing/components/style-system.html