Business line and queue information, as well as the settings for how Contact Us displays, are set in the JavaScript file contactus.config.js. This file can be found at <drive>:\Program Files (x86)\Mitel\MiContact Center\WebSites\Ccmwa\Scripts.
If you intend to offer multiple instances of Contact Us on your corporate website with different business line and queue information, you will require multiple copies of contactus.config.js. Copies of contactus.config.js can be renamed and stored in different locations, but script references to Contact Us must be updated to renamed file in the script reference’s parameters. For more information, see "Adding Contact Us to your corporate website".
Business line or service group sections can be added or removed and the available media types for each of these sections can be modified. The media type layout is fluid so that if one media type icon is removed, the others flow together.
See the following table for a description of each field.
See the following figure for a labeled diagram of what fields correspond to which elements in Contact Us.
contactus.config.js fields | Description |
---|---|
BusinessLineName | The name of the business line or service group |
HoursOfOperation | The hours of operation for the contact center handing the queues for this business line or service group |
UnifiedQueueIdOrNameOrReporting | The service group/business line’s Unified Queue Group GUID, Name, or Reporting Number |
EstimatedWaitTimeLabel | The Estimated Wait Time label text that displays when a mouse hovers over |
ShowIconCaptions | If True, Contact Us will display the caption configured in Caption. If False, it hides the caption |
MediaTypes | The supported media types that display in the business line or service group |
See the following table for a description of each field.
See the following figure for a labeled diagram of what fields correspond to which elements in Contact Us.
Contact.Config.js fields | Function |
---|---|
Enabled |
Controls whether or not the media type can be interacted with
|
OnMouseHoverMessage | The text that displays when a mouse hovers over an icon |
CssClass |
The CSS class used for the media type. By default, these are:
|
Caption | The caption text. Used in conjunction with ShowIconCaptions. |
ContactDisplayInfo | The text displaying the contact information for the queue, such as email address or phone number |
Icon |
The type of icon used for this media type. Supported icon values are:
|
QueueIdOrNameOrReporting |
The queue’s GUID This unique identifier enables Contact Us to identify this Contact Us queue with a queue on the media server For instructions on how to obtain a queue's GUID, see "Obtaining Queue GUIDs". |
ClickToContactInfo |
The queue’s dialable phone number, email address, chat queue external URL, or SMS number. Note:
|
Handler |
The type of media. The Handler can be:
Note:
It is not recommended to change or edit this field, unless you are adding or removing an entire media type. |
SupportedProtocols |
The protocols your business can support for the media type contact mechanism. Protocols can be added for voice queues. The following protocols are supported: Voice:
|
EwtPrefix |
It is not recommended to change or edit this field, unless you are adding or removing an entire media type. If the media type is voice, email, chat, or SMS, set EwtPrefix value to "ewt" If the media type is callback, set the EwtPrefix value to "ewt_wcb" |
OutboundWorkflowId |
|
Enabled: true,
OnMouseHoverMessage: "",
CssClass: "",
Caption: "",
ContactDisplayInfo: "",
Icon: "",
QueueIdOrNameOrReporting: "",
ClickToContactInfo: "",
Handler: ""
EwtPrefix: ""
},
{
Enabled: true,
OnMouseHoverMessage: "",
CssClass: "lobMediaTypeCallback",
Caption: "Callback",
ContactDisplayInfo: "Callback",
Icon: "Callback",
QueueIdOrNameOrReporting: "",
ClickToContactInfo: "Callback",
Handler: "Callback",
EwtPrefix: "ewt_wcb",
OutboundWorkflowId: ""
},
Enabled: true,
OnMouseHoverMessage
CssClass: " lobMediaTypePhone ",
Caption: "",
ContactDisplayInfo: "",
Icon: "",
QueueIdOrNameOrReporting: "",
ClickToContactInfo: "",
SupportedProtocols "tel",
Handler: "Call"
EwtPrefix: "ewt"
},
To delete chat, for example, you would delete the following lines:
{
Enabled: true,
OnMouseHoverMessage: "Chat with Sports Support",
CssClass: "lobMediaTypeChat",
Caption: "Chat",
ContactDisplayInfo: "",
Icon: "Chat",
QueueIdOrNameOrReporting: "d596e70f-526d-4c94-aa86-faa0e8bdb9db",
ClickToContactInfo: "http://localhost/ccmwa/chat/d596e70f-526d-4c94-aa86-faa0e8bdb9db",
SupportedProtocols: "",
Handler: "Chat",
EwtPrefix: "ewt"
},