|
MultiPowUpload 3.3
Functionality Parameters |
Home
page Contact
support
|
UniversalUploader functionality parameters
For more information about how to setup UniversalUploader parameters see tutorials.
| Parameter name | Type | Desciption | Default value |
|---|---|---|---|
| serialNumber | String | Product serial number. | |
| holder | String | Id of the html element to which UniversalUpload should be appended. If it is not set, document body is used. |
|
| uploaders | String | Comma separated list of upload which should be inited. Available uploaders : classic - standard html4 based uploader. It works in most browsers. drag-and-drop - advanced uploader based on html5 features. Multiple files selection at once, upload progress, drag and drop. It works in modern browsers (firefox 3.6+, chrome, safari, etc) flash - flash based uploader (Element-IT MultiPowUpload ). It have a lot of advanced features including multiple files selection and upload progress. It works in browsers with installed FlashPlayer . silverlight - silverlight based uploader (Element-IT UltimateUploader ). It have a lot of advanced features including multiple files selection, upload progress, resumable upload. It works in browsers with installed Silverlight plugin. |
drag-and-drop, flash, silverlight, classic |
| singleUploader | Boolean | It determines whether UniversalUploader should init and render only the first available uploader. For example, if the value of the uploaders parameter is set to "drag-and-drop, flash, silverlight, classic" and universalUploader loaded in old browser (IE6 ) without Flash and Silverlight plugins installed, then 'html5' uploader will fail to init, after that 'flash' and 'silverlight' uploaders will also fail to init and finally 'html4' uploader should be properly initialized. | true |
| renderTabHeader | Boolean | It determines whether UniversalUploader should display tab header when singleUploader mode enabled. | false |
| url | URL | The URL of the server script configured to handle an upload through HTTP POST calls. The URL can be HTTP/HTTPS only. | |
| redirectUrl | URL | URL of the page that will be loaded automatically after upload is finished. |
|
| showAlertOnError | Boolean | It determines whether UniversalUploader should automatically display error messages with JavaScript alert method. | true |
| fileFilter_maxCount | Number | Maximum count of files allowed for upload. The count is unlimited if the parameter is set to -1. | -1 |
| fileFilter_maxSize | Number | Maximum file size in bytes. The size is unlimited if the parameter is set to -1. Size property may not be available in some uploaders (like html4), in this case value of this parameter will be ignored. | -1 |
| fileFilter_maxTotalSize | Number | Maximun size of all files in bytes. The size is unlimited if the parameter is set to -1. Size property may not be available in some uploaders (like html4), in this case value of this parameter will be ignored. | -1 |
| fileFilter_types | String | An array of files extensions which are allowed for upload. Extensions are splitted by comma. You should set only file extensions here without dot or asterix. |
|
| fileFilter_disabledTypes | String | An array of file types (extensions) which are not allowed for an upload. Extensions are splitted by comma. You should set only file extensions here without dot or asterix. |
|
| handlers | Object | Object name/value collection where name is the name of Event and value is the function which should be called for this event. Example: handlers: { |
|
| imagesPath | URL | Path to the folder with images used by universal uploader (button icons, file state icons, etc). It is related to the base path of the html page where control is placed. | images/ |
| flash_swfUrl | URL | Url to the ElementITMultiPowUpload.swf file. It is related to the base path of the html page where control is placed. | ElementITMultiPowUpload.swf |
| flash_ownUi | Boolean | It determines whether UniversalUploader should render its own UI for Flash based uploader (MultiPowUpload) instead of common html ui. | false |
| flash_params | Object | Object name/value collection of additional parameters for Flash based uploader. You may find them all in an appropriate section of the documentation. Example: flash_params: {
"clearListOnAddNewFiles" : "true",
"fileView.defaultView":"thumbnails"
}, |
|
| silverlight_xapUrl | URL | Url to the UltimateUploader.xap file. It is related to the base path of the html page where control is placed. | UltimateUploader.xap |
| silverlight_ownUi | Boolean | It determines whether UniversalUploader should render its own UI for Silverlight based uploader (UltimateUploader) instead of common html ui. | false |
| silverlight_params | Object | Object name/value collection of additional parameters for Silverlight based uploader. You may find them all in an appropriate section of the documentation for UltimateUploader. Example: flash_params: {
"AvailableView" : "thumbnails",
"ShowBackgroundImage":"false"
}, |
Upload form fields
| Parameter name | Type | Desciption | Default value |
|---|---|---|---|
| formName | String | Id of a form in the html page whose values should be posted to server. | |
| postFields | Object | Object name/value collection with the parameters which should be added to the post request. Example: postFields :{
userName : "Vasia",
sessionId : "2398296839275uh"
},
|
|
| postFields_file | String | Name of the file form field in a request. | Filedata |
| postFields_fileId | String | Name of the file id form field in a request. | fileId |
| postFields_fileSize | String | Name of the file size form field in a request. | fileSize |
| postFields_filesCount | String | Name of the files count form field in a request. | filesCount |