Giter Site home page Giter Site logo

agent_id_store's Introduction

agent_id_store

Agent_ID_Store is a sample Webex Contact Center custom widget that will create an icon on the left sidebar of the agent desktop. The 2 buttons that make up the smaple widget should be populated in the main page when the widget icon is clicked, displaying the Agent ID and the Agent Name from the STORE keys via properties.

Custom Widgets

A Custom Widget is a third-party application that is configured in the JSON layout. You can place the custom widget on the custom page, custom tab (Auxiliary Information pane), or on the horizontal header of the Agent Desktop.

To get started with building Custom Widgets, it may be a good idea to request a developer sandbox from the Webex Contact Center Developer Portal.

Once you receive your sandbox credentials via email, open a incognito window in your web browser and go to the Admin Portal. Login using your sandbox administrator credentials provided in the email.

Navigate to Contact Center > Desktop Layout, and download the default layout file.

Custom Widgets layout

The file Default Desktop Layout agent.json in this repository is a sample desktop layout that you can upload to the agent deskop that works with this sample code.

Bundling

Custom widgets must bundle all their static resources (CSS, JavaScript, markup, and images) in a single JavaScript file using a bundle library such as Webpack, Rollup, or Parcel. We used Webpack to bundle the custom widget files for this repot. You can the bundle here. The bundle is ready to be used as is, but if you make any changes to the project, bundle the files again via Webpack to bring the bundled file up to date.

Hosting via Live Server

For this sample, we hosted the code bundle within VS Code uing the Live Server plug-in. You can install Live Server in VS Cdoe, which will make it available in the blue status bar in VS Code. Open the project and click to Go Live from the status bar to turn the server on/off. You can open the Default Desktop Layout Agent.json file in the browser and confirm that the "script" tag on line 221 of the layout file is pointing to the hosted bundle.js so that the browser can access the widget when the Agent Desktop is loaded. The widget will not be accessible unless the bundled file is hosted live.

Accessing the Agent Desktop

Once the Desktop Layout file is uploaded in Control Hub, and Live Server is running, You can log into the Agent Desktop with the Premium Agent credentials supplied in the email response with your Webex Contact Center sandbox credentials.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.