How does sightly code excess global objects in AEM6 | Community
Skip to main content
New Participant
August 9, 2016
Solved

How does sightly code excess global objects in AEM6

  • August 9, 2016
  • 2 replies
  • 1517 views

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.
Best answer by Gdubz-57m2mu

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

kautuk_sahni
Employee
August 10, 2016

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
Gdubz-57m2mu
Gdubz-57m2muAccepted solution
New Participant
August 9, 2016

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.