How to add new GROUP properties with multiple values

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2006 08:11 AM
Hi,
I want to add new Group Properties to the documents, with multiple values.
What do I need to do? Is the following example, "address", possible?
I want to add new Group Properties to the documents, with multiple values.
What do I need to do? Is the following example, "address", possible?
…<property name="my:grupPropertiesAddress"> <title>Properties Group Multivalue</title> <properties> <property name="my:propStreet"> <type>d:text</type> </property> <property name="my:propNumber"> <type>d:int</type> </property> <property name="my:propZipCode"> <type>d:int</type> </property> </properties> <multiple>true</multiple></property> …
Thx in advance !
Labels:
- Labels:
-
Archive
5 REPLIES 5

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2006 10:01 AM
That's not possible.
Alternatives are:
1) Define an aspect containing the address properties and attach to any existing node (not too good for supporting multiples)
2) Define a type containing the address properties and create child nodes (good for supporting multiples)
Alternatives are:
1) Define an aspect containing the address properties and attach to any existing node (not too good for supporting multiples)
2) Define a type containing the address properties and create child nodes (good for supporting multiples)

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2006 11:34 AM
Hi David,
I don't know how to create child nodes. I tried to insert this code in my exampleModel.xml, but this provoces an error when I start alfresco.
exampleModel.xml :
Luis
I don't know how to create child nodes. I tried to insert this code in my exampleModel.xml, but this provoces an error when I start alfresco.
exampleModel.xml :
…<types> <type name="my:address"> <title>My type Address</title> <properties> <property name="my:propStreet"> <type>d:text</type> </property> <property name="my:propNumber"> <type>d:int</type> </property> <property name="my:propZipCode"> <type>d:int</type> </property> </properties> </type> <!– Definition of new Content Type: SOP –> <type name="my:sop"> <title>My new sop</title> <parent>cm:content</parent> <properties> <property name="my:authorisedBy"> <type>d:text</type> </property> <property name="my:childAddress"> <type>my:address</type> <multiple>true</multiple> </property> </properties> </type></types>…
Could you, please, provide me with more details about how to achieve the second alternative?Define a type containing the address properties and create child nodesVery grateful for your feedback!
Luis

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2006 04:46 AM

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2006 06:52 AM
Hi,
I have added the association childAddress:
[img]http://thumbq.com/store/597-childaddre.jpg[/img]
But, is the following example, possible?:
[img]http://thumbq.com/store/614-iwantthisc.jpg[/img]
Very grateful for your feedback!
Luis
I have added the association childAddress:
[img]http://thumbq.com/store/597-childaddre.jpg[/img]
But, is the following example, possible?:
[img]http://thumbq.com/store/614-iwantthisc.jpg[/img]
Very grateful for your feedback!
Luis

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-31-2006 09:52 AM
Hi,
I have been investigating, but not the solution. :?
Somebody knows how I can implement the following example?
[img]http://thumbq.com/store/614-iwantthisc.jpg[/img]
Thx in advance !
I have been investigating, but not the solution. :?
Somebody knows how I can implement the following example?
[img]http://thumbq.com/store/614-iwantthisc.jpg[/img]
Thx in advance !
