
Retrieving values from multifield component in HTL in AEM 6.5
Retrieving values from multifield component in HTL in AEM 6.5 Asked 6 years, 3 months ago Modified 2 years, 3 months ago Viewed 15k times
aem - How to add the Author/Edit mode condition in sightly/HTL for ...
How to add the Author/Edit mode condition in sightly/HTL for class attribute values.? Asked 6 years, 9 months ago Modified 6 years, 9 months ago Viewed 4k times
sightly - AEM HTL dynamic property name - Stack Overflow
May 3, 2023 · Is there any way in HTL to use dynamic property name something like this ${class.map['prefix' + item.name]}
aem - Sightly (HTL) List iteration - Stack Overflow
Feb 13, 2017 · You can either use data-sly-list or data-sly-repeat to iterate over collections / iterables in HTL. Both of them work the same with the only difference, data-sly-repeat doesn't require a container …
AEM 6.5: Is there an HTL way to output Webpack-generated CSS within ...
Nov 2, 2021 · AFAIK there isn't an OOB way to do it. If your webpack generated is in a file you just can't inline embed the file's contents using HTL. You don't need a 3rd party script to do it, but you would …
Add attribute in Sightly/HTL only if it exists (AEM)
Nov 30, 2020 · Here all three options of approaching this Sling Model Using sling models is the preferred way because it provides a better separation of concerns and keeps your HTL clean and you can …
sightly - AEM different ways to use HTL sly - Stack Overflow
Dec 16, 2020 · AEM different ways to use HTL sly Asked 5 years, 4 months ago Modified 5 years, 3 months ago Viewed 2k times
How to compare two strings in Sightly/HTL? (AEM 6.2)
Jul 24, 2017 · How to compare two strings in Sightly/HTL? (AEM 6.2) Ask Question Asked 8 years, 7 months ago Modified 6 years, 1 month ago
aem - AEM6.5 Passing paramater to the resource from HTL/Sightly ...
Nov 18, 2022 · AEM6.5 Passing paramater to the resource from HTL/Sightly template Asked 3 years, 5 months ago Modified 3 years, 5 months ago Viewed 510 times
AEM 6.x: How to pass an HTL variable to clientlib/JS?
Mar 19, 2018 · Technique 2: (Old school) - Hidden variable - Add hidden variable into component rendering script; set the value of variable with HTL property and read the variable from clientside js …