/mcpSample menuConfig Object { "label": "Chat", "menuItems": [{ "id": "ready-menu-item", "label": "Ready", "iconColor": "available" }, { "id": "not-ready-menu-item", "label": "Not Ready", "iconColor": "unavailable" } ] } Description Type Key The label of the digital channel. String label The list of the menu items for the digital channel. Array menuItems Unique identifier of the digital channel menu. When there is a user action on the digital channel menu, this Id is returned through the parameter finesse.digital.ChannelService.selectedMenuItemId. String -->id The text of the menu item. String -->label The color of the icon based on the current state of the digital channel. • Green color refers to available. • Red color refers to unavailable. • Orange color refers to busy. Enum -->iconColor The following method can be used to get the schema for the menuConfig object. finesse.containerservices.ChannelSchema.getMenuConfigSchema() Cisco Common Desktop Stock Icon Names with Image The digital channel configuration schema considers the Cisco Common Desktop icon (CD-icon) name as its value. The icons are composed of different elements. Sign in to Cisco Finesse and paste the following JavaScript code in the editor of your browser developer console to see the list of CD-UI icon names and their visual design. This script cleans the Cisco Finesse web page, displays the icon name, and renders it in an HTML table. Refresh the browser to reflect the changes. You can also define this value in a gadget. Note Example var showIcons = function() { $('body').html(''); Cisco Finesse Web Services Developer and JavaScript Guide, Release 12.5(1) 441 Cisco Finesse JavaScript APIs Cisco Common Desktop Stock Icon Names with Image
