AEM forms displaying search results from DB | Community
Skip to main content
Level 2
June 5, 2019
Solved

AEM forms displaying search results from DB

  • June 5, 2019
  • 3 replies
  • 2229 views

Hi All,

I have a search form component which takes input like firstname , last name, etc . When i click on Search button the form is submitted and i have a servlet which is invoked , it will return data from database. Now i need to use this data returned to populate a table below the search component. Is it possible to achieve the same with table component or any other aem forms features ?. I have gone through helpx document to populate the table dynamically using xml , but doesn't match my requirements. TIA

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Mayank_Gandhi

Once you have data with you in xml or json you can try to use jquery data table and populate the data in it. This will, of course, be a custom approach.

Working with jQuery DataTables — SitePoint

3 replies

Mayank_Gandhi
Adobe Employee
Mayank_GandhiAdobe EmployeeAccepted solution
Adobe Employee
June 5, 2019

Once you have data with you in xml or json you can try to use jquery data table and populate the data in it. This will, of course, be a custom approach.

Working with jQuery DataTables — SitePoint

Adobe Employee
June 5, 2019
Mayank_Gandhi
Adobe Employee
Adobe Employee
June 11, 2019

Here is a great sample published by Lee. Please refer the sample code at below link:

https://forms.life/2019/06/03/datatables-in-adaptive-forms/