cancel
Showing results for 
Search instead for 
Did you mean: 

how to use dnd upload in alfresco enterprise edition 4.1.4

rockyrakhi
Champ in-the-making
Champ in-the-making
Hi,

I am using Alfresco Enterprise edition 4.1.4. in which we do have only flash upload and html upload(single file upload) only. I want to use drag and drop upload. Can some one help me out in this issue. Actually in 4.2.c I had used drag and drop upload.

So, Finally when I click on upload button, I want to get call dnd upload file instead of flash or html.
1 REPLY 1

eric_soto
Champ in-the-making
Champ in-the-making
rockyrakhi,

You would need to use the following YUI component in your DocLibAction in order to perform a Drag and Drop upload:


var dndUpload = Alfresco.component.getDNDUploadInstance();
var multiUploadConfig =
{
    files: files,
    destination: destination,
    siteId: siteId,
    containerId: doclibContainerId,
    path: docLibUploadPath,
    filter: [],
    mode: flashUpload.MODE_MULTI_UPLOAD,
}
dndUpload.show(multiUploadConfig);


Hope this helps. Cheers.