11-18-2016 09:33 AM
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 .
11-21-2016 12:08 PM
Take a look here GitHub - softwareloop/uploader-plus: An Alfresco uploader that prompts for metadata to override DnD
However, why don't you choose an existing one?
"Unzip" Share Action (ZIP) | Alfresco Add-ons - Alfresco Customizations
Alfresco – Customizing alfresco-unzip-action addon | Programming and So
Also, in Alfresco 5.1 it's an ootb action: Unzipping content | Alfresco Documentation
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.