Digital Customer Service

Get Involved. Join the Conversation.

Topic

    Matthew Terlesky
    Insert a click to chat link on a HTML page
    Topic posted September 11, 2019 by Matthew TerleskyGreen Ribbon: 100+ Points 
    25 Views, 12 Comments
    Title:
    Insert a click to chat link on a HTML page
    Summary:
    I would like to insert a link to open the chat window on one of our company's intranet pages
    Content:

    I would like to insert a link to open the chat window on one of our intanet pages. When an employee clicks on this "click to chat" link, the chat window should pop up.

    The chat URL that we have is similar to this:

    https://embg-prod-xxxxx.builder.ocp.oraclecloud.com/ic/builder/rt/MyCompany_Chat/live/webApps/dcs/

    This open a splash page with additional content that I don't need. I want the chat window to open directly.

    I originally opened SR 3-20726208421 : Need assistance configuring chat function 

    on Oracle Support with Narendra. CSI = 22100898

    Comment

     

    • Matthew Terlesky

      I'm trying to use this script but don't understand what this should be: 

      src="placeWhereInlaysAreStoredPublically.com/common/v0/libs/oit/loader.js"
      

      with this script example:

      <script
              id="oit-loader"
              src="placeWhereInlaysAreStoredPublically.com/common/v0/libs/oit/loader.js"
              data-oit-increment="true"
              data-oit-group="" async>
      </script>
      
      • Christopher Tarabochia

        This is incorrect. You are trying to use Inlays ( the JS syndication framework built with OJET) to invoke chat on a Digital Customer Service page. Because DCS with Visual Builder already has chat components you simply go into the Visual Builder and add the chat component to the page. There is no need to load additional JS with the Inlay for this use case.

    • Matthew Terlesky

      Because DCS with Visual Builder already has chat components you simply go into the Visual Builder and add the chat component to the page.

      Thanks. Where is this Visual Builder exactly and what is the "chat component"?

      • Christopher Tarabochia

        You should be using Visual Builder to work with your Digital Customer Service pages. What exactly are you trying to do here? Are you trying to put a link to chat from a page that is NOT Digital Customer Service page and when the user clicks that invokes a new window with chat dialog or what?

      • Christopher Tarabochia

        You should be using Visual Builder to work with your Digital Customer Service pages. What exactly are you trying to do here? Are you trying to put a link to chat from a page that is NOT Digital Customer Service page and when the user clicks that invokes a new window with chat dialog or what?

    • Christopher Tarabochia

      If you are looking to us Inlays to provide a chat experience for Engagement Cloud that is on a non Digital Customer Service/Visual Builder web pages you will want to follow these instructions:

      https://docs.oracle.com/en/cloud/saas/engagement/19c/faids/alternative-implementation-options.html#FAIDS3418928

    • Matthew Terlesky

      Correct

      I would like to insert a link to open the chat window on one of our company's intranet pages

      I would like to insert a link to open the chat window on one of our intanet pages. When an employee clicks on this "click to chat" link, the chat window should pop up.

      The link I referenced in my original post opens a chat splash page which we don't want. We want to insert a link directly into on of our intranet pages to invoke to chat window directly.

    • Matthew Terlesky

      Yes. That is what I'm using. My question was specific to those instructions:

      I'm trying to use this script but don't understand what this should be. Is this js file a download? Where is it stored exactly? The documentation is vague on this part.

      src="placeWhereInlaysAreStoredPublically.com/common/v0/libs/oit/loader.js"
      

      with this script example:

      <script
              id="oit-loader"
              src="placeWhereInlaysAreStoredPublically.com/common/v0/libs/oit/loader.js"
              data-oit-increment="true"
              data-oit-group="" async>
      </script>
      
    • Matthew Terlesky

      Will this be our engagement cloud domain?

      custhelp.com
      

       

      <script id="oit-loader"
               src="http://static-XX.custhelp.com/s/oit/latest/common/v0/libs/oit/loader.js" async></script>
      
      • Christopher Tarabochia

        No. you only replace the XX with the region you want.

        Side note: Inlays JS files are hosted on custhelp.com (Service Cloud servers) for the moment. In the very, very, near future they will be hosted at their permanent url location. Inlays for Engagement Cloud are an early adopter or beta capability for this reason until we have the permanent CDN (global cached) location. Once that is available you will be able to point to oit.oraclecloud.com. So, use the region specific urls indicated in the documentation for today. The new url will be published soon.

    • Matthew Terlesky

      OK. I went down the wrong path because when I put in Phoenix (px) I got a 404 error. I replaced it with mw and it works. Thank you.

      http://static-mw.custhelp.com/s/oit/latest/common/v0/libs/oit/loader.js