dhtmlxVault server messages

Two questions:



1. How can I include my own messages on the file upload grid upon completion of the upload?



When uploading using Vault, the component says “Done” when the file is uploaded. How can I have other messages associated with the upload. For example, if the upload fails (perhaps because the file violates a server-side business rule) I’d like to show the error message. Or, if the upload is successful I’d like to give some feedback or summary information rather than just the word “Done”.



2. How can I send additional query data with the request?



In my application I have the users categorize what they are uploading. I need to send that category code along with the upload request. I think I can see in the source code where I could include that data (perhaps by coding a new method on dhtmlXVaultObject), but I’m hoping there’s a standard way that’s built into the component.



Thanks for the help! :slight_smile:

>>1. How can I include my own messages on the file upload grid upon completion of the upload?

The messages hardcoded in component code

"Done" message - dhtmlxvault.js, line 843
error messages - dhtmlxvault.js, lines 211-263

>>2. How can I send additional query data with the request?

Please check dhtmlxvault.js line 1007
    this.uploadForm.action = this.pathUploadHandler + "?
you can customize it to include any additional params