Hi,
My task is to display random images every time user hits the browser.So I want to fetch random images from JCR. My code is as follows
Map<String, String> map = new HashMap<String,String>();
map.put("path", contentPath.toString());
map.put("type", "dam.Asset");
map.put("property", "jcr:content/metadata/dc:format");
map.put("property.value", "image/jpeg");
Is it possible to achieve this using Query Builder API?
Please suggest how I can achieve the same.
Thanks,
Manju