Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

Search Component using AEM forms

srinithi_abira1
Level 1
Level 1

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.

1 Accepted Solution
Sakshi1
Correct answer by
Level 3
Level 3

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

View solution in original post

0 Replies
Sakshi1
Level 3
Level 3

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

srinithi_abira1
Level 1
Level 1

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

srinithi_abira1
Level 1
Level 1

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.

Sakshi1
Correct answer by
Level 3
Level 3

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

View solution in original post