cancel
Showing results for 
Search instead for 
Did you mean: 

Urgent

pablo_zapico
Champ in-the-making
Champ in-the-making
Hello,

We are trying to create a model in Alfresto to build relations between contents. Our problem is that, these relations are not limited to two contents, a content can have many other contents related, and these relations have to have their own data, for example, the date in which the relation was created, the user that created it, the type of the relation, etc.

The relation between contents that Alfresco has out-of-the-box (associations) is not enough, because we can't store data of multiple relations. We could put this data in one of the contents with an aspect but that way we only store the data of one relation.

The ideal solution would be something similar to what is seen when you do a version of a document,a list of relations with a small set of data.
2 REPLIES 2

vivekkumarkohli
Champ in-the-making
Champ in-the-making
The solution that I can think of right now is to maintain the relation in a table.
So a simple query can bring out all the data for a particular relation.
The structure of the table will be dependent on how you want to implement the relations between rows

zaizi
Champ in-the-making
Champ in-the-making
Checkout how multilingual content is modeled in contentModel.xml. That approach should cover your requirements.

Ainga