cancel
Showing results for 
Search instead for 
Did you mean: 

Custom metadatas repeated ...

gentyjp
Champ in-the-making
Champ in-the-making
Hi

I wish to create my own custom metadata as a triplet and repeat it N times in the same node.

Thanks to the dictionnary guide I see I can create some custom datas.

But what I miss is: can I repeat these datas as many times I want in the same node ?

I have a triplet {amount, Name, SomeText} I want to put it as many times I want in a node.

Could someone point me to the documentation or tell me if I can do it ?

Thanks !!!!!

Jean-Paul
2 REPLIES 2

gentyjp
Champ in-the-making
Champ in-the-making
I see I get no answers, so I precise, maybe it will help  Smiley Happy

  I have an array {amount, Name, SomeText} I wish to add n times this array to a node.

  MyNode->{ {amount, Name, SomeText},{amount, Name, SomeText},                  {amount, Name, SomeText},{amount, Name, SomeText},…}
                
  If someone could tell me if I can do it or point me a documentation place where I can find it.

   Thanks !!!

   Jean-Paul

davidc
Star Contributor
Star Contributor
There isn't native support for storing triplets against a node, but you could define your triplet as another type (i.e. a type with three properties) and then define an association to this type.

The Data Dictionary Guide located at http://wiki.alfresco.com/wiki/Data_Dictionary_Guide gives info on how to define types and associations.