requestTimeout Property

Description

This property defines the timeout for all request to the ESD/SPD Web service and all requests to the web server made by the editor to retrieve symbols and templates.

To set this property, use the ESDWeb object's set method, as illustrated below, or pass it to the startup method as part of the configuration parameter.

This value is in milliseconds and must be a positive integer. In the example below, the value of this property is set to 10,000 resulting in a request timeout of ten seconds.

If this property is not set, the request timeout will default to 30 seconds.

Example

editor = new ESDWeb(null, 'editorNode');

editor.set('requestTimeout', 10000); // Set request timeout to 10 seconds

/* set other properties here */

editor.startup(...);