Expand my Community achievements bar.

Submissions are now open for the 2026 Adobe Experience Maker Awards.

Mark Solution

This conversation has been locked due to inactivity. Please create a new post.

Get first element of a bean list in sightly : AEM 6.2

Avatar

Level 8

Hi All,

Suppose I have a bean class Sample.java, which in turn has one attribute private List<Image> images. The Image.java has private String url. I want to read only the first url property of the list in my sightly file.

Any thoughts/pointers/reference code on how to do this will be really helpful.

0 Replies