Sign in to Community
Sign in to view all badges
I need to check size of the list in sightly. I need to display UI only when it has more than 2 items in list. Any idea?
Go to Solution.
Use Slighty and Java and count the list. If you are not aware of how to use Sligtly with Java - see: https://helpx.adobe.com/experience-manager/using/creating-sightly-component.html
View solution in original post
Java counting is a good way to solve your problem 🙂