cancel
Showing results for 
Search instead for 
Did you mean: 

Repeating fields and repeating Aspects

fhomasp
Champ in-the-making
Champ in-the-making
Hey,

Sorry for my thread-posting-spree as of late.  Maybe some will get answered eh Smiley Happy
J/K… Smiley Wink

I added a bunch of aspects to a specific type of document which provide additional fields for input.  Now some fields are supposed to be repetitive.  For example, an employee will likely have more than one finished project in his history, or more than one job history type. 
My colleage has been able to specify a specific field als multiple which allows list adding.  In fact I was about to post this thread when he did.  We then attempted to add multiple as property to the declaration of the aspect like this:
<aspect name="rls:locatable" multiple="true">
But that didn't work, although it did allow alfresco to startup correctly.  Adding <multiple true/> or any variation didn't allow correct startup.

I do feel that I have a good question this time, so bear with me Smiley Happy Smiley Wink

Cheers all,
Thomas
2 REPLIES 2

alanfrisco
Champ in-the-making
Champ in-the-making
I have the same question! Anybody?

mikef
Champ in-the-making
Champ in-the-making
It's not the aspect that has multiple instances, it's the properties defined by the aspect. e.g.

<aspect name="rls:locatable">
  <property name="rls:locatable">
  <title>Location</title>
  <type>d:text</type>
  <multiple>true</multiple>
</property>
</aspect>