cancel
Showing results for 
Search instead for 
Did you mean: 

naming files

kellerclark
Champ in-the-making
Champ in-the-making

Is there a way to enforce a file naming scheme?  

What are the naming "best practices".

3 REPLIES 3

mehe
Elite Collaborator
Elite Collaborator

A way to test a naming-scheme enforcement: create a javascript rule (firing also in sub-spaces) that checks the filenames with a regex onCreate (or onChange)

For Production: use a Java-based behaviour for this...

I never use a naming-scheme, because the data about the files is in the properties and categories of the file (node) - that's what a DMS is used for. You should not depend on a naming scheme.

What was your intention for enforcing the scheme?

kellerclark
Champ in-the-making
Champ in-the-making

Martin,

We are just learning about using a DMS.  We will be moving to Alfresco Community but before we did I wanted to be sure we had a good file naming scheme.  I guess I was missing the point.  The search ability in the DMS makes the need for a naming scheme unnecessary.

Thanks for your response!

Keller

mehe
Elite Collaborator
Elite Collaborator

Hi Keller,

ich you already have a naming-scheme you can use it for the automatic-classification of your files when they get imported in Alfresco. You can create a rule (like the rules in Mail-Clients or Servers) that triggers when a file is uploaded to a folder, grab the name of the file and add Metadata to it (i.e. if document.name starts with INV, it's an invoice...)

regards,

Martin