AEM forms displaying search results from DB

Avatar

Avatar

krithikar545354

Avatar

krithikar545354

krithikar545354

05-06-2019

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

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

Mayank_Gandhi

Employee

Avatar

Mayank_Gandhi

Employee

Mayank_Gandhi
Employee

05-06-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

Answers (2)

Answers (2)

Avatar

Avatar

Mayank_Gandhi

Employee

Avatar

Mayank_Gandhi

Employee

Mayank_Gandhi
Employee

11-06-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/

Avatar

Avatar

workflowuser

Employee

Avatar

workflowuser

Employee

workflowuser
Employee

05-06-2019