cancel
Showing results for 
Search instead for 
Did you mean: 

Fill metadata before the file upload

natnat
Champ in-the-making
Champ in-the-making
Hi,

There is a requirement in our project that document should be uploaded into system only together with filled metadata. Or document can be uploaded after metadata is filled.

In the standard Share file upload process (using upload button or file drug-and-drop) first we upload a file and then we edit the metadata of it (this is that doesn't meet our requirement).

So, there are two solutions (we are not allowed to change anything in Alfresco core):

1. For file upload use only Create content menu (the requirement would be met as we first fill the metadata and only then upload the file). For this solution we need to disable drag-and-drop upload and upload button. Is this possible? Can we configure it in Share? Or can it be solved with a custom extension?
2. If the first solution is not possible then we could work on the File Upload dialog customization, adding metadata there.

The first solution is preferred as it would be simpler and it is preferred by our customer.

Natalija
1 REPLY 1

ddraper
World-Class Innovator
World-Class Innovator
It is possible to create customizations to disable the drag-and-drop upload and upload buttons - your version of Alfresco will dictate how easy this will be - but in both cases I think it will be necessary to actually extend the default DocumentList widget and the documentlist.get WebScript that instantiates it. Just removing the regions/components (via an extension) that creates the underlying upload services will prevent uploads but will result in errors occurring in the browser (which I'm sure you don't want).

It would also be possible to replace the upload services for the DocumentLibrary with custom upload services that require metadata to be added. You could do all of this via extension modules and with custom JavaScript widgets.

Regards,
Dave
Getting started

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.