Repeating fields and repeating Aspects
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-15-2008 10:23 AM
Hey,
Sorry for my thread-posting-spree as of late. Maybe some will get answered eh
J/K…
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:
I do feel that I have a good question this time, so bear with me

Cheers all,
Thomas
Sorry for my thread-posting-spree as of late. Maybe some will get answered eh

J/K…

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


Cheers all,
Thomas
Labels:
- Labels:
-
Archive
2 REPLIES 2

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2008 04:31 AM
I have the same question! Anybody?

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2008 11:19 AM
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>
<aspect name="rls:locatable">
<property name="rls:locatable">
<title>Location</title>
<type>d:text</type>
<multiple>true</multiple>
</property>
</aspect>
