Hi,
Previously I used QueryBuilder API to query JCR content repository . I had written the logic in jsp file itself. Now I want to use sightly . So only html files.
Could you please explain with a small example how to use Query Builder API and display the results using sightly.
Thanks in advance.
Best Regards,
Vijaya Immadisetty.
Solved! Go to Solution.
Views
Replies
Total Likes
I got Sightly and QueryBuilder working.
See: Creating an AEM Sightly Component that uses the QueryBuilder API
Views
Replies
Total Likes
The best way to do this is use Java and Sightly. On the Java side, use Query builder API. Then display the results using Sightly.
Here is an article that shows you how to use Java and Sightly:
https://helpx.adobe.com/experience-manager/using/creating-sightly-component.html
Early next week, we will release an article that shows this use case.
Views
Replies
Total Likes
Here is another Sightly article that will help. Although it does not use QueryBuilder, it shows you how to display a result set in Sightly that was generated on the Java side. Very similar to what you want to do. Except your case, you are using QueryBuilder API to generate the result set.
https://helpx.adobe.com/experience-manager/using/domparser.html
Views
Replies
Total Likes
I got Sightly and QueryBuilder working.
See: Creating an AEM Sightly Component that uses the QueryBuilder API
Views
Replies
Total Likes
Views
Likes
Replies