Open Forum

 View Only
  • 1.  Chat implementation in Angular with window.bus

    Posted 10-03-2022 11:54
    Has anyone been able to implement the chat functionality on an angular site that includes the bus functionality? I can get the chat window to render just fine but we're looking to automatically pass information to the chat agent window using this method outlined here: Contact Center Embedded Chat API

    I tried embedding the onInit bus function in the script but got an error complaining about function name. Has anyone had any luck? Any guidance would be greatly appreciated!

    ------------------------------
    Shaun Nieves
    ------------------------------


  • 2.  RE: Chat implementation in Angular with window.bus

    Level 1 Contributor
    Posted 10-04-2022 03:38
    Morning sir, I have implemented it a few times (not on angular) Here is an example I use from the documentation



    sorry forgot to add what it would look like in Agent Workspace



    ------------------------------
    Paul Chase
    8x8 Network Engineer (Pre-Sales and Deployment)
    ------------------------------



  • 3.  RE: Chat implementation in Angular with window.bus

    Posted 10-05-2022 08:57
    Hi Paul, this worked perfectly! I wasn't sure where to add the bus snippet as the documentation is not clear. I assumed it needed to be added to the oninit function in Angular, not in the 8x8 script. Thank you for the clarification!!!

    ------------------------------
    Shaun Nieves
    ------------------------------