cancel
Showing results for 
Search instead for 
Did you mean: 

Tags vs Categories

louisebennett
Champ in-the-making
Champ in-the-making
Hi,

I'm very new to Alfresco, so excuse me if this is a stupid question!

I'm trying to build a document library in Alfresco - and when I say 'library' I mean that in the traditional sense: we're a library that wants to use Alfresco to store our electronic collection.

I'm currently working on metadata, and I've run into a brick wall. Basically, I want to be able to enter authors for each of my documents, but have these authors as part of an authority file, so that if an author, subject, publisher, etc, is used more than once, the items are linked. I thought about using categories for it, but the trouble is that I want people to be able to add new authors as they're uploading (if the authors/whatever aren't already in the collection). I looked at tags as an alternative, and that will probably work, but I don't really want the authors, subjects, publishers, etc all sitting together in the tag file.

What I really want, it seems, is something in between the two. Is it possible to create multiple collections of tags? Is it possible to create categories during the metadata addition process (and to search existing categories, potentially?). What are my options?

Thanks in advance!
3 REPLIES 3

dsmurray
Champ in-the-making
Champ in-the-making
Hi Louise
I have a similar situation, we need to associate multiple authors with our publications. Did you ever get an answer to your question?
Thanks
Doug Murray

scouil
Star Contributor
Star Contributor
Hi,

Yes it's totally possible.
What you will need to do is create your own custom content model and declare all those subjects, author, etc. as properties of the type d:category
http://ecmarchitect.com/images/articles/alfresco-content/content-article-2ed.pdf

In the admin console (or bootstrap it if you want), go and create root categories for each of these tags
http://docs.alfresco.com/4.1/index.jsp?topic=%2Fcom.alfresco.enterprise.doc%2Ftasks%2Fadminconsole-c...

Then you will need to write your form definition and specify the correct rootNode for the tags by explicitly by redefining the control
http://wiki.alfresco.com/wiki/Forms#category.ftl

jpotts
World-Class Innovator
World-Class Innovator
Thanks for linking to the custom content types tutorial on ECM Architect, Scouil, I really appreciate that.

In case it is helpful to anyone coming across this thread, the content types tutorial (as well as many of the others in the Alfresco Developer Series) has been updated. The tutorial and source code live in <a href="https://github.com/jpotts/alfresco-developer-series">GitHub</a> and the HTML rendition of the content types tutorial lives <a href="http://ecmarchitect.com/alfresco-developer-series-tutorials/content/tutorial/tutorial.html">here</a>.

Jeff