Search Component using AEM forms | Community
Skip to main content
February 10, 2017
Solved

Search Component using AEM forms

  • February 10, 2017
  • 5 replies
  • 2013 views

Hi All,

I have given a task to analyse,I have given an Classic ASP page with search functionality.the search is based on data or topics the result will be displayed down.

this sight has been migrated to AEM but this search alone is pending. the result data are stored in sql server.

My question is whether we can rebuilt it in AEM using AEM forms and sql?

Any suggestion would be welocome 

 

Thanks.

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 Sakshi5

Hello Srinithi,

Those links were for reference. You can always write a click expression on your button, hit your servlet and fetch results. If your search web service have swagger / wsdl configured, you can directly map your fields to its input and output using rule editor. [0] [1]

If your result is in form of array/list, you will find it useful to use repeatable panels [2] or repeatable row in table [3]. 

[0] https://helpx.adobe.com/aem-forms/6-2/using-web-service-rule-editor.html

[1] https://helpx.adobe.com/aem-forms/6-2/invoke-web-services-adaptive-forms.html

[2] https://helpx.adobe.com/aem-forms/6-2/creating-forms-repeatable-sections.html

[3] https://helpx.adobe.com/aem-forms/6-2/adaptive-forms-tables.html

5 replies

Sakshi5
Adobe Employee
Adobe Employee
February 10, 2017

Sure, You would be able to achieve it by AEM Forms. Please refer to following links, for any reference.

[0] https://helpx.adobe.com/aem-forms/6-2/topics.html

[1] https://helpx.adobe.com/aem-forms/6-2/introduction-aem-forms.html

February 10, 2017

i need to store all the data in sql,can i be able to retrieve it using java and display it?

or is there any possiblity to use JCR for storing

Sakshi5
Adobe Employee
Adobe Employee
February 10, 2017
February 10, 2017

the search component's result should be already stored in database. how to store all the data in JCR in AEM? it is not submit form where we can get the data form form and store it in db. the result data should be stored predefined so using search we can just retrieve  the data and display it.

Sakshi5
Adobe Employee
Sakshi5Adobe EmployeeAccepted solution
Adobe Employee
February 13, 2017

Hello Srinithi,

Those links were for reference. You can always write a click expression on your button, hit your servlet and fetch results. If your search web service have swagger / wsdl configured, you can directly map your fields to its input and output using rule editor. [0] [1]

If your result is in form of array/list, you will find it useful to use repeatable panels [2] or repeatable row in table [3]. 

[0] https://helpx.adobe.com/aem-forms/6-2/using-web-service-rule-editor.html

[1] https://helpx.adobe.com/aem-forms/6-2/invoke-web-services-adaptive-forms.html

[2] https://helpx.adobe.com/aem-forms/6-2/creating-forms-repeatable-sections.html

[3] https://helpx.adobe.com/aem-forms/6-2/adaptive-forms-tables.html