Hi Friends,
Very Good Morning
Does anyone has come across integrating AEM6.1 with Kovio? can some one let me know how to integrate AEM with external search engine.
Regards
Pr@veen
Solved! Go to Solution.
Hi Praveen
There is no OOTB integration or connector component between these two products as of now.
Option 1:
You would have to create a custom AEM service and integrate using its Rest API - which it supports. Here is a community article on how to hook a Restful service into AEM.
Link: https://helpx.adobe.com/experience-manager/using/custom-sling-servlets.html
Creating Adobe Experience Manager bundles that invoke third party Restful web services
Create a OSGI service or Sling Servlets and write a code to send HTTP request GET/POST in it.
Example Code :-
import org.apache.commons.httpclient.HttpClient;
import org.apache.commons.httpclient.methods.PostMethod;
String url = "http://www.google.com";
InputStream in = null;
try {
HttpClient client = new HttpClient();
PostMethod method = new PostMethod(url);
//Add any parameter if u want to send it with Post req.
method.addParameter("p", "apple");
int statusCode = client.executeMethod(method);
if (statusCode != -1) {
in = method.getResponseBodyAsStream();
}
Option 2:
Coveo can be programmed using JAVAScript API. We can use Java-scripting in AEM to achieve the needful.
Link:- https://helpx.adobe.com/experience-manager/using/custom-carousel-components.html
Coveo JS API docs:- https://developers.coveo.com/display/public/JsSearchV1/JavaScript+Search+Framework+V1+Home
Getting started :- https://developers.coveo.com/display/public/JsSearchV1/Getting+Started+with+the+JavaScript+Search+Fr...
I hope this would help you.
Thanks and Regards
Kautuk Sahni
Hi Praveen
There is no OOTB integration or connector component between these two products as of now.
Option 1:
You would have to create a custom AEM service and integrate using its Rest API - which it supports. Here is a community article on how to hook a Restful service into AEM.
Link: https://helpx.adobe.com/experience-manager/using/custom-sling-servlets.html
Creating Adobe Experience Manager bundles that invoke third party Restful web services
Create a OSGI service or Sling Servlets and write a code to send HTTP request GET/POST in it.
Example Code :-
import org.apache.commons.httpclient.HttpClient;
import org.apache.commons.httpclient.methods.PostMethod;
String url = "http://www.google.com";
InputStream in = null;
try {
HttpClient client = new HttpClient();
PostMethod method = new PostMethod(url);
//Add any parameter if u want to send it with Post req.
method.addParameter("p", "apple");
int statusCode = client.executeMethod(method);
if (statusCode != -1) {
in = method.getResponseBodyAsStream();
}
Option 2:
Coveo can be programmed using JAVAScript API. We can use Java-scripting in AEM to achieve the needful.
Link:- https://helpx.adobe.com/experience-manager/using/custom-carousel-components.html
Coveo JS API docs:- https://developers.coveo.com/display/public/JsSearchV1/JavaScript+Search+Framework+V1+Home
Getting started :- https://developers.coveo.com/display/public/JsSearchV1/Getting+Started+with+the+JavaScript+Search+Fr...
I hope this would help you.
Thanks and Regards
Kautuk Sahni
Views
Likes
Replies