- Contents
Interaction Web Tools Developer's Guide
Interaction Web Tools parameters
The index.html file contains the setInteractionWebToolsParams function, which defines configuration settings for Interaction Web Tools. You can modify the values of these parameters to change the behavior of Interaction Web Tools.
By default, several of the parameters are commented out. You can uncomment them to add functionality.
The following table describes the Interaction Web Tools parameters.
Note:
You can edit config.js by hand or by using IWT_ConfigUtility.exe.
| Parameter | Default Value | Description |
|---|---|---|
|
currentUriFragment |
ui.ConfigConversions.convertICServerCountToCurrentUriFragment(config.ICServerCount) |
The part of the URI the web server recognizes as a request to be reverse proxied to the CIC server. Defaults to the value in config.js, which is |
|
uriFragments |
ui.ConfigConversions.convertICServerCountToUriFragments(config.ICServerCount) |
The set of possible URI fragments used to reverse proxy to the CIC server. Defaults to the value in config.js. |
|
pageMode |
ui.ConfigConversions.convertInteractionTypesToPageMode(config.InteractionTypes) |
The types of interactions that can be handled. Defaults to a numeric representation of the interaction types set in config.js, i.e. 1 for chats and 2 for callbacks. |
|
chatTarget |
config.ChatTarget |
The user or workgroup to send chats to. Defaults to the value in config.js. |
|
chatTargetType |
config.ChatTargetType |
The chat target type: user or workgroup. |
|
callbackTarget |
config.CallbackTarget |
The user or workgroup to send callback requests to. Defaults to the value in config.js |
|
callbackTargetType |
config.CallbackTargetType |
The callback target type: user or workgroup. |
|
defaultLanguageCode |
config.DefaultLanguageCode |
The default language. Defaults to the value in config.js. |
|
customInfo |
null |
Information that is displayed in the chat window in the CIC client. Only agents see this information. |
|
chatFollowupUrl |
null |
A URL to redirect to when a chat finishes. |
|
callbackAttributes |
null |
Extra attributes that are added to a callback request. |
|
callbackRoutingContext |
null |
Category/context pairs that you can use to route callback requests based on skills. See Implementing Routing Contexts. |
|
chatRoutingContext |
null |
Category/context pairs that you can use to route chats based on skills. See Implementing Routing Contexts. |
|
useHttps |
config.UseEncryption |
Whether to user HTTP or HTTPS. Defaults to the value in config.js. |
|
urlsAreRelative |
false |
Whether to use relative URLs when building urls for Web Tools functionality. By default, Interaction Web Tools prepends URLs with http://server:port/ using the server information set in config.js. Using relative URLs instead allows you to set up the reverse proxies up somewhere other than I3Root/Server1 and I3Root/Server2. |

