Expand my Community achievements bar.

SOLVED

How does sightly code excess global objects in AEM6

Avatar

Level 1

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??

1 Accepted Solution

Avatar

Correct answer by
Level 5

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.

View solution in original post

2 Replies

Avatar

Correct answer by
Level 5

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.

Avatar

Administrator

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



Kautuk Sahni