Relation provides a named link from something to something. The something can 
be a document, a URI, a String ...

You would want to use relation instead of id references if you need to add 
additional data to the relation.
I have a Library doctype and a Book doctype.
If I just want to list the books in a library I would use a list of string in 
the Library document that  would have the doc id of the books.
If I want to also have information such as date of purchase I might use a 
relation and between the book and the library and add the date to this relation.

I could also not have a Book doctype and create a relation from a library 
document to a URI (the ISDN number of the book) or the url of the book on 
amazon.com.
--
Posted by "arussel" at Nuxeo Discussions <http://nuxeo.org/discussions>
View the complete thread: 
<http://www.nuxeo.org/discussions/thread.jspa?threadID=2486#6838>
_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm
To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm

Reply via email to