Level 1
Level 2
Sign in to Community
Learn more
Sign in to view all badges
Expand my Community achievements bar.
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??
Solved! Go to Solution.
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
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
Views
Likes
Replies