<?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: Can a property's type be a custom content type? in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/can-a-property-s-type-be-a-custom-content-type/m-p/238959#M192089</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;- A property of an object cannot be the "abstract object" of a content type (It's hard to explain, so I'm doing my best here). I mean, if you can refer a content type instance (an existing object) as a property, you cannot refer the content type itself as one.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- If you want to be able to set objects (like documents, spaces …) as a custom:myProperty of an aspect, you have to use property type "d:any".&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If you want to restrict this "d:any" to the objects of your custom content type only, you will have to write a custom constraint.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this helps&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 23 Jul 2009 07:11:35 GMT</pubDate>
    <dc:creator>jayjayecl</dc:creator>
    <dc:date>2009-07-23T07:11:35Z</dc:date>
    <item>
      <title>Can a property's type be a custom content type?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/can-a-property-s-type-be-a-custom-content-type/m-p/238958#M192088</link>
      <description>Can the property type of an aspect be a custom content type?&amp;nbsp; Something like this:&amp;lt;types&amp;gt;&amp;nbsp; &amp;lt;type name="abc:typePerson"&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;property name="abc:userID"&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;type&amp;gt;d:text&amp;lt;/type&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/property&amp;gt;&amp;nbsp; &amp;lt;/type&amp;gt;&amp;lt;/types&amp;gt;&amp;lt;aspect name="abc:myAspect"&amp;gt;&amp;nbsp; &amp;lt;p</description>
      <pubDate>Wed, 22 Jul 2009 20:37:53 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/can-a-property-s-type-be-a-custom-content-type/m-p/238958#M192088</guid>
      <dc:creator>marcusthebrown</dc:creator>
      <dc:date>2009-07-22T20:37:53Z</dc:date>
    </item>
    <item>
      <title>Re: Can a property's type be a custom content type?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/can-a-property-s-type-be-a-custom-content-type/m-p/238959#M192089</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;- A property of an object cannot be the "abstract object" of a content type (It's hard to explain, so I'm doing my best here). I mean, if you can refer a content type instance (an existing object) as a property, you cannot refer the content type itself as one.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- If you want to be able to set objects (like documents, spaces …) as a custom:myProperty of an aspect, you have to use property type "d:any".&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If you want to restrict this "d:any" to the objects of your custom content type only, you will have to write a custom constraint.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this helps&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jul 2009 07:11:35 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/can-a-property-s-type-be-a-custom-content-type/m-p/238959#M192089</guid>
      <dc:creator>jayjayecl</dc:creator>
      <dc:date>2009-07-23T07:11:35Z</dc:date>
    </item>
  </channel>
</rss>

