Adding a custom Avaya Experience Platform Public Cloud In Front widget for Avaya Experience Platform On-Prem to Avaya Workspaces

Last Updated : Oct 24, 2024 |

About this task

About this task

You can add and configure a custom Avaya Experience Platform™ Public Cloud In Front widget for Avaya Experience Platform™ On-Prem to Avaya Workspaces within a specific Avaya Experience Platform™ Public Cloud instance.

You can install your custom Avaya Experience Platform™ Public Cloud In Front widget that gets the engagement ID from the User to User Information (UUI) and implements the REST API call to the customer journey service to retrieve the stored customer data.

You can import a widget from an external library for custom widgets in layout configuration. You can import widgets in the .json format.

Before you begin

  • Ensure that you enable the Avaya Experience Platform™ Public Cloud account with Avaya Experience Platform™ (On-Prem + Connect).

  • Ensure that you enable Avaya Experience Platform™ (On-Prem + Connect) with the Avaya Experience Platform™ Public Cloud In Front feature.

  • Ensure to log in to Application Center Administration as an account administrator.

Procedure

  1. In the navigation tree, click Workspaces > Widget Manager.
  2. On the Widget Manager page, in Custom Widgets, click Import Widget.
  3. In the new window, select the widget you want to import.

    For example, the following widget retrieves engagement information:

    {
      "id": "c5ecdd35-54e8-4326-9c52-faf5f5cee60e",
      "name": "davidEngagementInfo",
      "description": "A widget that retrieves engagement information",
      "icon": "neo-icon-sort",
      "element": "<welcome-david></welcome-david>",
      "version": "1.0.0",
      "files": [
        "/welcome-david.js"
      ],
      "tags": [
        "widget",
        "demo",
        "api"
      ],
      "override_url": "https://scriptingsolution.com/AvayaWidgets/welcome-david/dist",
      "last_updated": "2024-08-05T18:13:23.935125771Z"
    }
  4. Click Open.

    You can view the imported widget in the Custom Widgets list.

  5. On the Custom Widgets page, to override the URL of the widget with your own URL of the widget, click the Override URL icon.
  6. In the Update Override URL window, type the new URL.

    For example, https://scriptingsolution.com/AvayaWidgets/welcome-david/dist

  7. To use the widget, add the widget to an existing layout or a new layout using the following steps:
    1. In the navigation tree, click Workspaces > Layout Manager.
    2. On the Layout Manager page, select the layout that has Voice view enabled.
    3. To assign the widget to one of the UI widget slots, select the tab you want to add the widget and assign the available widget slot on the Customize Tab tab.