AEM6.1 integration wth Kovio | Community
Skip to main content
praveenk9004043
Level 4
November 28, 2016
Solved

AEM6.1 integration wth Kovio

  • November 28, 2016
  • 1 reply
  • 1334 views

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

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 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+Framework+V1

I hope this would help you. 

 

Thanks and Regards

Kautuk Sahni

1 reply

kautuk_sahni
Community Manager
kautuk_sahniCommunity ManagerAccepted solution
Community Manager
November 28, 2016

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+Framework+V1

I hope this would help you. 

 

Thanks and Regards

Kautuk Sahni

Kautuk Sahni