<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Complex properties in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/complex-properties/m-p/243638#M196768</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;That's probably the way to go, many thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 03 Dec 2009 11:42:20 GMT</pubDate>
    <dc:creator>daniel_pereza</dc:creator>
    <dc:date>2009-12-03T11:42:20Z</dc:date>
    <item>
      <title>Complex properties</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/complex-properties/m-p/243632#M196762</link>
      <description>Hi,I need to map this XML to a type in Alfresco:&amp;lt;doc&amp;gt;&amp;nbsp; &amp;lt;title&amp;gt;Title&amp;lt;/title&amp;gt;&amp;nbsp; &amp;lt;authors&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;author&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;name&amp;gt;Author 1&amp;lt;/name&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;email&amp;gt;author1@email.com&amp;lt;/email&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/author&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;author&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;name&amp;gt;Author 2&amp;lt;/name&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;amp;</description>
      <pubDate>Mon, 30 Nov 2009 10:55:59 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/complex-properties/m-p/243632#M196762</guid>
      <dc:creator>daniel_pereza</dc:creator>
      <dc:date>2009-11-30T10:55:59Z</dc:date>
    </item>
    <item>
      <title>Re: Complex properties</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/complex-properties/m-p/243633#M196763</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Alfresco does not support complex properties.&amp;nbsp; However, you can declare a multivalued property of type d:any and throw whatever you want into there; it's not a great solution and you'll have to make sure that the data structures have a decent toString method.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You could make use of the person object (where user details are stored) and link your document to those via associations, but it really depends on how you intend to query/retrieve this information on how you might store it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Dec 2009 13:32:35 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/complex-properties/m-p/243633#M196763</guid>
      <dc:creator>derek</dc:creator>
      <dc:date>2009-12-02T13:32:35Z</dc:date>
    </item>
    <item>
      <title>Re: Complex properties</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/complex-properties/m-p/243634#M196764</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If I created a "person" type, is there a way to easily create new "person" objects from the properties page of the original document? Or would I have to create a new content of type "person", and then go to the properties page of the original document and associate them?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for your suggestions anyway.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Dec 2009 13:42:45 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/complex-properties/m-p/243634#M196764</guid>
      <dc:creator>daniel_pereza</dc:creator>
      <dc:date>2009-12-02T13:42:45Z</dc:date>
    </item>
    <item>
      <title>Re: Complex properties</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/complex-properties/m-p/243635#M196765</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;org.alfresco.service.cmr.security.PersonService.getPerson(String userName);&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt;I was thinking that you could associate your document with the "Person" object that represents the logged-in user.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Dec 2009 17:02:15 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/complex-properties/m-p/243635#M196765</guid>
      <dc:creator>derek</dc:creator>
      <dc:date>2009-12-02T17:02:15Z</dc:date>
    </item>
    <item>
      <title>Re: Complex properties</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/complex-properties/m-p/243636#M196766</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Well, the XML I posted is a simplification of my situation. My "author" has other business-specific attributes, so I think the "person" object wouldn't be a good fit…&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Dec 2009 17:11:06 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/complex-properties/m-p/243636#M196766</guid>
      <dc:creator>daniel_pereza</dc:creator>
      <dc:date>2009-12-02T17:11:06Z</dc:date>
    </item>
    <item>
      <title>Re: Complex properties</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/complex-properties/m-p/243637#M196767</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;OK.&amp;nbsp; So you'll need a model for author nodes and hang them off some well-known location, associating them with the content.&amp;nbsp; You'd probably have an aspect that you apply to documents that has a mandatory 1 or many association to an author type.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Dec 2009 09:45:41 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/complex-properties/m-p/243637#M196767</guid>
      <dc:creator>derek</dc:creator>
      <dc:date>2009-12-03T09:45:41Z</dc:date>
    </item>
    <item>
      <title>Re: Complex properties</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/complex-properties/m-p/243638#M196768</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;That's probably the way to go, many thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Dec 2009 11:42:20 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/complex-properties/m-p/243638#M196768</guid>
      <dc:creator>daniel_pereza</dc:creator>
      <dc:date>2009-12-03T11:42:20Z</dc:date>
    </item>
  </channel>
</rss>

