How to remove Web address and favorites from the chat window

How to remove Web address and favorites from the PureCloud Web Chat window ? there is are no option to include as an attributes in the renderPopup method. Also i would like to have option to set the window position as well.

ININ.webchat.create(chatConfig, function(err, webchat) {
if (err) {
throw err;
}
// Render to popup
webchat.renderPopup({
width: 400,
height: 400,
title: 'Chat',
//set newTab to true if using screen share
newTab: false
});
});

If you'd like to fully control the window, you should create your own page that uses the embedded chat. You can then fully control how you open your custom page that will render the chat.

Thanks Tim for the response, is there any template or link to see an sample cod. i've already have a custom page to launch this chat window but still not sure how to do it.

Just create a page using embedded chat: https://developer.mypurecloud.com/api/webchat/, then use window.open(...) and specify options for the popup window using the windowFeatures parameter.

I've created the chat window as per the document. Its working first time but when we launch the chat window second time, its appearing as a stack. any suggestion to avoid this? Thanks

screenshot attached.

I'm not familiar with your code, so I can't say how you've done this. But it looks like you've created two instances of web chat in the same page. I'd start by inspecting your JavaScript code and the HTML in the UI to determine how you've started two chats, and then limit your code to only create one.

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.