Hello Everyone,
I have developed a Content Finder tab in which User would be able to view all content (Text/paragraphs) from Geometrixx website by default. Now I need to write a servlet to get content/paragraphs by using keywords (just like how they are able to search keywords in images).
Any Suggestion would be highly appreciated !
Solved! Go to Solution.
Views
Replies
Total Likes
Views
Replies
Total Likes
Views
Replies
Total Likes
Hi smacdonald2008, Can u suggest me how to call servlet from the javascript file (custom tab file) to display the custom search result in content finder tab.
Thanks,
Sawan
Views
Replies
Total Likes
Hi,
there are various examples of getting results from a servlet with Ajax.[1][2]
Here is an example of how to create and populate a new tab in content finder[3]
Regards,
Opkar
[1] https://helpx.adobe.com/experience-manager/using/custom-sling-servlets.html
[2] https://helpx.adobe.com/experience-manager/using/using-ajax-requests-display-cq.html
[3] https://chanchal.wordpress.com/2013/06/26/how-to-add-your-own-content-finder-tab-in-cq5/
Views
Replies
Total Likes
Hi Opkar,I gone through [3] example,If you look in servlet "entries" has not been defined anywhere . Can u suggest me logic and how to initalize "entries" ? I am new to CQ5,not getting how to write the logic for this part.
Views
Replies
Total Likes
Here is another example of using a Servlet to call a servlet that reads the AEM JCR and constructs JSON data. Then the data is displayed in an AEM GUI component - in this case - a tree component.
See:
https://helpx.adobe.com/experience-manager/using/creating-custom-cq-tree.html
Views
Replies
Total Likes