Editable templates and clientlibs

jakej40603950

04-01-2020

In case of static templates, javascript libraries / clientlibs which were used across a section of the site or the entire site were usually added to the page component referenced by static templates. Even things like components to be added for contexthub were done in page component.

 

Is there a way to add such global clientlibs or components in case of editable templates? Or do these now need to be added in headers / footers used inside editable templates?

Accepted Solutions (1)

Accepted Solutions (1)

Arun_Patidar

MVP

04-01-2020

In case of a dynamic template, you can still add clientlibs like before in the header and footer section the page. But you have extra clientlibs which you want to add for any particular template, you can add those clientlibs from the template.

 

You can add clientlibs from page policy.

screen_shot_2018-03-23at120604.png

https://docs.adobe.com/content/help/en/experience-manager-64/authoring/siteandpage/templates.html#pa...

Answers (0)