Tips and tricks in Java, eGovernment, Electronic Signature and Alfresco

Menú

ALFRESCO · Edit Meta-Data during upload (really)

One of the most common requirements for organizations adopting Alfresco is that users must provide a minimum set of data when creating a new document in the system in order to allow a proper catalog of the contents.

This functionality is not provided by Alfresco, although there is a commercial add-on (Edit Meta-Data during upload) that provides an approximation based on the launch of a form after the document has been uploaded to Alfresco. However, the user can close or cancel the form window without introducing the required data. Thus, the document would have been uploaded to the system without updating the required information.

WebScript or Behaviour development in order to save values on meta-data properties from the model

So, new upload window should appear like this one.

Drag & Drop

Default Alfresco mechanism on drag & drop includes the instant upload of every document dropped to the browser window. In our scenario, meta-data form will not be shown. So we need to include some new fixes on JS YUI dnd-upload.js

So our data entry window will be presented to the user and the “Select files to upload” button will have been modified by an “Upload” button in order to send the attached file to the system without requiring any other user interaction.