Integration Guide for Oracle Billing Insight > Integrating Oracle Billing Insight With CRM Applications >

Configuring the Self-Service Application to Connect to Oracle Service Cloud


You can configure the Self-Service application to integrate with Oracle Service Cloud, displaying FAQ, Ask Question, and Chat features in the user interface, for example.

To integrate Oracle Billing Insight with Oracle Service Cloud

  1. Open the insert_servicecloud.jsp file, located in the following directory:
    • UNIX. EDX_HOME/J2EEApps/selfservice/weblogic/selfservice-weblogic-7.1.ear/selfservice-web-1.0-SNAPSHOT.war/_includes
    • Windows. EDX_HOME\J2EEApps\selfservice\weblogic\selfservice-weblogic-7.1.ear\selfservice-web-1.0-SNAPSHOT.war\_includes
  2. To change the branding or service access URL, update the following lines in the insert_servicecloud.jsp file with your links:

    src="//www.demo.com/Client.js"

    "//www.demo.com/ci/ws/get"

    The contents of the insert_servicecloud.jsp file are shown here:

    <%@ include file="/_includes/taglibraries.jsp" %>
    <%@ taglib uri="/WEB-INF/edocs-common.tld" prefix="edocs" %>
    <script type="text/javascript" src="//www.demo.com/Client.js">
    //please replace with valid widget js link in src
    </script>
    <script type="text/javascript">
    Client.Controller.addComponent(
    {
    c: "267;283",
    description: false,
    div_id: "myDiv",
    target: "_blank",
    instance_id: "skw_0",
    module: "KnowledgeSyndication",
    type: 3
    },
    //please replace with valid widget link below
    "//www.demo.com/ci/ws/get"
    );
    </script>

    <div class="quicklinks">
    <h3>FAQ</h3>
    <div class="content">
    <div id="myDiv"></div>
    </div>
    </div>

    <div class="quicklinks">
    <h3><s:text name="serviceCloud.title.moreSupportOptions"/></h3>
    <div class="content">
    <h4><img src="${ctx}/_assets/images/aaq.png" width="32" height="32"/>
    &nbsp;&nbsp;<a href="#"
    onClick="MyWindow=window.open('','MyWindow','width=700,height=800');
    returnfalse;"><s:text
    name="serviceCloud.title.askAQuestion"/></a></h4>
    <p class="support"><s:text name="serviceCloud.message.submitAQuestion"/
    ></p>
    <h4><img src="${ctx}/_assets/images/chat.png" width="32" height="32"/>
    &nbsp;&nbsp;<a href="#"
    onClick="MyWindow=window.open('','MyWindow','width=700,height=800');
    returnfalse;"><s:text
    name="serviceCloud.title.liveChat"/></a></h4>
    <p class="support"><s:text name="serviceCloud.message.chatDirectly"/></p>
    <h4><img src="${ctx}/_assets/images/community.png" width="32"
    height="32"/> &nbsp;&nbsp;<a href="#"
    onClick="MyWindow=window.open('','MyWindow','width=700,height=800');
    returnfalse;"><s:text
    name="serviceCloud.title.askTheCommunity"/></a></h4>
    <p class="support"><s:text
    name="serviceCloud.message.submitToCommunity"/></p>
    </div>
    </div>

  3. Refresh your browser to view the changes to the sidebar_servicecloud_insert.jsp file. When the EAR file is not deployed in exploded mode, it is necessary to clear the cache and restart the Oracle WebLogic server for the Self-Service domain.
    1. To clear the cache, go to the Self-Service domain folder and run the following command to stop the Oracle WebLogic server:
      • UNIX. bin/stopWebLogic.sh
      • Windows. bin\stopWebLogic.cmd
    2. Remove files in the following directory:
      • UNIX. $selfservice_domain/servers/AdminServer/tmp
      • Windows. $selfservice_domain\servers\AdminServer\tmp
    3. To restart the Oracle WebLogic server, run the following command:
      • UNIX. startWebLogic.sh
      • Windows. startWebLogic.cmd

Integration Guide for Oracle Billing Insight Copyright © 2017, Oracle and/or its affiliates. All rights reserved. Legal Notices.