To This page describes how to create a widget for your ServiceNow environment and how to keep the previously configured settings in case you are migrating from older widget versions.
Table of Contents | ||||
---|---|---|---|---|
|
Key points
To add a widget on your ServiceNow portal:
In Kbot, create and configure a widget.
In ServiceNow, enable the widget by setting the host and the widget ID.
Creating a widget
To configure your widget, go to Configuration > Widget and create one.
...
on your Kbot host and set the parameters. For more details on parameters, view this help page.
Info |
---|
In case you are migrating from old version of widget to the new one, you might want to keep the parameters you have defined earlier. To do so, you need to export the properties from the |
...
Code Block |
---|
Application = "Virtual Agent for IT Service Desk" |
...
Widget parameters
Previously, you had to set the widget configuration in your ServiceNow environment. Now, all these settings are set in the UI of Kbot, in Configuration > Widget.
The old widget settings UI in ServiceNow contained lots of settings:
...
. Please, read more about it in the section below. |
Copying ID
Click Save and copy the widget ID — you will need to enter it in ServiceNow later. The ID is available in the browser address bar (the last value after /
), or in the Code for embedding area on the right side of the window.
...
Enabling the widget in ServiceNow
In ServiceNow, go to Virtual Agent for IT Service Desk > Properties and enter the host for your Kbot application and the widget ID:.
...
...
Let’s take a look at the settings.
General settings
Name: enter the name of your widget.
Description: enter the description.
Application: select the application type for your widget.
...
Widget appearance and behavior
...
Migrating from old widget
In older widget versions, you had to set the widget configuration in your ServiceNow environment:
...
In case you are migrating from an old version of widget to the new one, you might want to keep the parameters you have defined earlier. To do so, export the properties from the sys_properties
table:
Code Block |
---|
Application = "Virtual Agent for IT Service Desk" |
...
Setting | Parameter |
---|---|
Widget width |
|
...
...
Height:
Widget height |
|
Title background color |
...
| |
Title text |
...
Resize button text:
...
Close button text:
...
Minimize button text:
...
Refresh conversation on close:
...
Make the chat modal
...
Button appearance
...
color |
|
Text of the “resize” button |
|
Text of the “close” button |
|
Text of the “minimize” button |
|
Refresh conversation on close |
|
Text of the widget button |
|
Button tooltip |
|
Button background color |
|
Button text color |
|
Button position |
|
Hide button |
|
Widget icon file |
|