Hi, there. Trying to create a html-code for fast deploying a webchat 2.0 site. Starting webchat from the Developer Tools site works fine. -Copying the chat-code to a html-page and accessing this page, results in a "spinning wheel", which never connects to the chat-session in PureCloud.
Should I do anything with the code other than pasting it to the empty html-document?
I am afraid that was not to the point. I am aware of the documentation of the topic.
I am using the developer tools to create a webpage for chat using the widget 2.0 interface. In the developer tools, everything works fine, and I connect chat with agent. -But when I transfer the html-code from developer tools to a web-page (copy - paste to blank editor), I dont get the code to work.. Page is loaded, and button is displayed. -and the chat-toast is loading. It stops when I click "Start Chat" in the toaster.
It shouldnt be like that, shold it? There shouldnt be a need of more html-code than what was pasted from the Developer Tools page, should it?
There's a bug in the tools that's causing the config object to not be structured correctly; this is slated to be fixed soon. The contents should be correct, but it's missing the widgets > webchat properties. Refer to the configuration structure here for the correct formatting: https://developer.mypurecloud.com/api/webchat/widget-version2.html#configuration.