05-14-2018 07:13 PM
Is there a way to enforce a file naming scheme?
What are the naming "best practices".
05-15-2018 05:04 AM
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?
05-15-2018 11:03 AM
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
05-17-2018 04:20 AM
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
Explore our Alfresco products with the links below. Use labels to filter content by product module.