Jump to: navigation, search

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 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

Feedback

Comment on this article:

blog comments powered by Disqus
This page was last modified on November 5, 2018, at 10:25.