You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Page Peek with Popover Chat UX

edited Jun 19, 2018 8:05PM in Communication Channels 8 comments

Content

We recently added a popover chat UX, where the chat window will open and close over our external sites.

Please see attached PPT. 

We are using jquery and javascript to create an iframe display the chat_landing page in the inner frame. Page Peek is no longer working, which was expected, but wanted to know if there was a different approach to allow page peek to work. My assumption is page peek is showing the blank iframe, since no error displays in the page peek within the agent console.

 

Thanks

Steve

 

 

Version

CP 3.7 OSvC 17D

Code Snippet

             var script_len;
var script_len_cntr = 0;
jQuery('script').each(function (index, value) {
  if (jQuery(value).attr("src")) {
    script_len = jQuery(value).attr("src").indexOf("popover");
    if (script_len >= 0) {
      script_len_cntr++;
    }
  }
});

//if there are no scripts that match, the load it
if (script_len_cntr <= 1) {

  var is_debug = false;

  var chatcount = 0;
  var rn_last_read_messageID = 0;
  var passed_messageID;
  var chatloaded = false;
  
  var custhelp_launch_path = "https://pl--tst.chat.thehartford.com/app/chat/chat_launch_newUX";
  var custhelp_landing_path = "https://pl--tst.chat.thehartford.com/app/chat/chat_landing_cust";
 

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!