Chatwidget customization

what do i need to do to render the chat widget in a specific div, in addition, i can call the chat directly without showing the user a filling form??

Hello,

If you are referring to Widgets v2 (https://developer.mypurecloud.com/api/webchat/widget-version2.html), the widgets cannot be rendered in a specific div.
They are dynamically added to the HTML DOM and rendered as an overlay.

In oder to start the chat and to skip the Chat Registration Form, you would have to call the WebChat.open command (via your javascript, through a custom button if you want) setting autoSubmit to true.
You can see the sample at the bottom of the Widgets v2 page - just change autoSubmit from false to true.
https://developer.mypurecloud.com/api/webchat/widget-version2.html

Regards,

Hi,

On the development page has something like this, I can not use it ?? is exactly what i need.

ININ.webchat.create(chatConfig, function(err, webchat) {
if (err) {
console.error(err);
throw err;
}

 webchat.renderFrame({
            containerEl: 'chat-container'
        });

Then you are not using Widgets v2 but Widgets v1.
Is this what you are using?

If you are using Widgets v2, the answer is no.

If you are using Widgets v1, yes - it is explained on the Widgets v1 page on Developer Center, here: https://developer.mypurecloud.com/api/webchat/
See following note in the page.
Note : In this example, containerEl refers to the id of the chat container div tag. This tag is shown in the example page below.

Version 2 is the new version.

Will version 1 of the widget be discontinued? what can this get me into trouble in the future?

Yes, widget v1.0 and v1.1 will be eventually deprecated. Here's another thread where we discussed it https://developer.mypurecloud.com/forum/t/end-of-life-schedule/7682

I need to render the chat in a specific div, if i do it with version 1 does it risk to stop working? There is some expectation that a similar function will be added to version 2??

Widget v1: as Lucie mentioned in the link she referred to "End of Life - Schedule"
At this time, there is no deprecation around ACD chat functionality. That said, as you suspect there will come a time where widgets v1.0 and v1.1 are deprecated. I anticipate announcing the deprecation of the v1.1 widget later this year. We are currently working on offering authenticated chat for widget v2 and once we finish that feature we will look to deprecate widget v1.1.

So yes, it will stop working the day widgets v1.0 and v1.1 are deprecated.

Regarding widget version 2, it is not supported at this time.

Hi

Where I find documentation to customize chat v2, customize Css??

Hello,

The document to customize widgets v2 appearance is here: https://all.docs.genesys.com/WID/Current/Developer/GWCCustomize

You can also check what I replied in that post on the same topic - giving some info/details about the steps for this: https://developer.mypurecloud.com/forum/t/webchat-widget-customizing/7626/4

Regards,

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