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: 'n3eNkgLLgLKXREBMYjGm6lygOHHOK8VA', dataURL: 'http://10.0.0.121:7777/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 JSON 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 February 28, 2018, at 16:13.
Comments or questions about this documentation? Contact us for support!