cancel
Showing results for 
Search instead for 
Did you mean: 

Automated file naming rules in Alfresco

pjolsen
Champ in-the-making
Champ in-the-making
Hi all,

I'm really new to alfresco and was wondering if anyone can guide me to setup a rule that will apply a file naming convention. i.e.

any file that gets uploaded will have questions like:

what is the topic?
what is the task?
what version is it?

Once hte user fills these in, the file will be named:

TOPIC - TASK - Version VERSION - DATE - TIME - USER UPLOADING THE FILE.doc

where the CAPS are enforced/automatically entered fields.

I've googled and searched this forum and cannot find anything, please help!

Thanks very much!

Phil Olsen
1 REPLY 1

kevinr
Star Contributor
Star Contributor
You can use an INBOUND JavaScript rule (called 'Execute a Script' in the rule list) to do this kind of work. See http://wiki.alfresco.com/wiki/JavaScript_API and the examples section for the kind of things you can do.

Thanks,

Kevin