Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Creating the widget code

  1. Open the DevOps > Deployments > Widget report.

  2. Define the specifications of you widget and copy the generated code, you will need it in the next step.

...

You can add the Konverso Kbot for Snow virtual agent widget only for a specific page. If you know that users might have questions when they go to a particular page, you can provide them with the opportunity to solve possible issues with the help of the Konverso Kbot for Snow virtual agent.

Adding the UI Widget Object

NEED TO ADD A NEW UI WIDGET OBJECT IN SNOW

1. Select Service Portal > Widget view in ServiceNow and create a new one called “Kbot Chat Widget”.

...

2. Assign the following value to the Server script field:

Code Block
(function() {
  /* populate the 'data' object */
  /* e.g., data.table = $sp.getValue('table'); */
	
	var settingsUtils = new x_konve_kbot_test.KonversoWidgetSettingsUtils();
	data.settings = settingsUtils.getSettings();
})();

The copy in the field Client Controller the script created in the Kbot report

Open the page https://<my tenant>.konverso.ai/admin/context-group/devops-tools/report/812DEFINE THE FIELDS TO BE UPDATED, THE NAMING CONVENTION, ETC

Adding the widget to a specific page

...

3. From the list of pages, select the one that you want to modify. DEFINE THE NAME OF THE MAIN PORTAL PAGE (THIS IS INDEX I BELIEVE) For example, to edit the main portal page, search for “index”:

...

4. To quickly find the widget, type its name in the search field in the upper left of the window.

...