cancel
Showing results for 
Search instead for 
Did you mean: 

Adding tags during document upload

soumyamandal
Champ in-the-making
Champ in-the-making
Hi,
I am new to Alfresco, and I have a particular requirement like , during document upload I have to add at least 3 Tags as mandatory.I am using Alfresco Community Edition 5.0.a. Can anyone please help ?

Thanks

Soumya
6 REPLIES 6

lutz_horn
Champ in-the-making
Champ in-the-making
Create an input folder with a rule that executes a JavaScript when a new document is created. In this script add the tags to the
document
that triggered the rule.

<blockcode>
document.addTag("some tag");
document.addTag("some other tag");
</blockcode>

Hi Lutz,
Thanks for your help , but I need to display the edit properties dialouge box immediately after document upload.
Also after selecting the tags we need to validate that at least 3 tags are selected.

lesignor
Champ in-the-making
Champ in-the-making
Hi,

I have the same requirement : add one tag to all documents in a folder.

I saw the solution with a rule and and a script, but I am looking for a solution without a script, so everybody can do it quickly and easily.

I didn't find an action to do that.

Is there a way to do that ?

<em>Alfresco Version</em> : Alfresco Enterprise v5.0.2

darkredd
Star Contributor
Star Contributor
Hi all,

You have to extend the upload.get.js script to allow for the refresh after upload to redirect to the edit-metadata page. Currently the refresh leads back to the containing folder.

muralidharand
Star Contributor
Star Contributor
Which uploader you're using it? HTML, DND or Flash.
what do you want to do / redirect the user ,if they uploads multiple files?

chrisapos3
Champ in-the-making
Champ in-the-making
I have the same issue,
I m using upload plus. With this add-on I can add description and title to my documents but i want to add category too or prompt them to the edit-metadata page