Configuration
Description
SendMessage and SendMessageService share the configuration namespace '_genesys.widgets.sendmessage'. SendMessage has UI options while SendMessageService has connection options.
Example
window._genesys.widgets.sendmessage = {
apikey: 'n3eNkgXXXXXXXXXXXXX',
dataURL: 'http://host:port/genesys/2/email',
userData: {},
SendMessageButton: {
enabled: true,
template: '<div>Email</div>',
effect: 'fade',
openDelay: 1000,
effectDuration: 300,
hideDuringInvite: true
}
};
Options
| Name | Type | Description | Default | Required |
|---|---|---|---|---|
| apikey | string | Apigee Proxy secure token | n/a | Yes, if using Apigee Proxy |
| dataURL | URL String | URL of GMS server | n/a | Always |
| ajaxTimeout | number | Number of milliseconds to wait before AJAX timeout | 3000 | n/a |
| userData | object | Arbitrary attached data to include with message | {} | n/a |
| uploadsEnabled | boolean | Enables file uploads to the server and enables the file upload feature in the SendMessage UI plugin. | true | n/a |
This page was last edited on December 21, 2018, at 12:15.
Comments or questions about this documentation? Contact us for support!
