AnsweredAssumed Answered

pop up after drag and drop

Question asked by tavvolley on Nov 18, 2016
Latest reply on Nov 21, 2016 by angelborroy

hi!

 

I try to create a module to manage drag&drop event.

 

I have this problem :

 

I created a custom site and when the user insert a new file (drag and drop the file) into a folder of document library of the site I must make this control :

 

is the file inserted a zip file?

 

if is a zip file, I must open a pop up that ask if extract the file or not.

 

if is not a zip file do nothing

 

How can create this module ?

 

I saw aikau framework, the service:

 

            alfresco/dnd/DragAndDropTarget

 

and method

 

            onItemsUpdated()

 


How Can I use this method to customize documentLibrary drag and drop?
How must configure the config file that override the documentLibrary drag&drop?
is the right way.

 

thanks .

Outcomes