Editable templates and clientlibs | Adobe Higher Education
Skip to main content
Level 5
January 4, 2020
해결됨

Editable templates and clientlibs

  • January 4, 2020
  • 1 답변
  • 2797 조회

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?

이 주제는 답변이 닫혔습니다.
최고의 답변: arunpatidar

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#page-policies

1 답변

arunpatidar
Community Advisor
Community Advisor
January 5, 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#page-policies

Arun Patidar
jakej40603950작성자
Level 5
January 5, 2020
Thanks!