Skip to main content
Aug 9, 2016 7:22 PM UTC
Solved

How does sightly code excess global objects in AEM6

Unlike inclusion of global.jsp with every component jsp in CQ5, sightly does not include any such dependency. How does it actually access all the global objects. What is the backend process of it. And how sightly code compiles to java??

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Gdubz-57m2mu
Gdubz-57m2muAccepted solution
Level 5
Aug 9, 2016 8:01 PM UTC

That's all available still, check out https://docs.adobe.com/docs/en/htl/docs/global-objects.html

That link lists all of the global objects you can use within your sightly component.

2 replies

Gdubz-57m2mu
Gdubz-57m2muAccepted solution
Level 5
Aug 9, 2016 8:01 PM UTC

That's all available still, check out https://docs.adobe.com/docs/en/htl/docs/global-objects.html

That link lists all of the global objects you can use within your sightly component.

Translate
kautuk_sahni
Level 9
Aug 10, 2016 5:45 AM UTC

Hi 

Adding one more reference link of HTL [HTML Template Language  (HTL -- formerly known as Sightly)] Spec,

Link:-https://github.com/Adobe-Marketing-Cloud/htl-spec/blob/master/SPECIFICATION.md

Documentation for Global Object :- https://docs.adobe.com/docs/en/htl/docs/global-objects.html

//Their content can be accessed with the dot notation, and they can be iterated-through using data-sly-list or data-sly-repeat.

 

~kautuk

Translate
Kautuk Sahni