<?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: Problem getting properties list in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/problem-getting-properties-list/m-p/158813#M112888</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;OK, apologies I misunderstood what you were asking.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In that case you were right with typeDef.getDefaultAspects(), that will give you all the aspects that will be there when a node is created. As for other aspects, you'll never know, any aspect can be applied at runtime.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 19 Feb 2008 15:41:01 GMT</pubDate>
    <dc:creator>gavinc</dc:creator>
    <dc:date>2008-02-19T15:41:01Z</dc:date>
    <item>
      <title>Problem getting properties list</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/problem-getting-properties-list/m-p/158808#M112883</link>
      <description>Hi all,i have many types of content..In my web script I have a html select with the list of all types.I want to display the form where the user insert the information associated to a particular selected Types.Es: Invoice &amp;lt;type name="cm:invoice"&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;title&amp;gt;Invoice&amp;lt;/title&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;</description>
      <pubDate>Tue, 12 Feb 2008 13:56:46 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/problem-getting-properties-list/m-p/158808#M112883</guid>
      <dc:creator>robby</dc:creator>
      <dc:date>2008-02-12T13:56:46Z</dc:date>
    </item>
    <item>
      <title>Re: Problem getting properties list</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/problem-getting-properties-list/m-p/158809#M112884</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;That's correct, you will only get the properties for the type, by their nature aspects are dynamic so the type will never know what aspects, and therefore what properties, are going to be present.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;To get all properties for a node you can use the getAnonymousType() method on the DictionaryService. Given a type and a list of aspects the definitions for all properties will be returned.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Feb 2008 22:04:16 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/problem-getting-properties-list/m-p/158809#M112884</guid>
      <dc:creator>gavinc</dc:creator>
      <dc:date>2008-02-12T22:04:16Z</dc:date>
    </item>
    <item>
      <title>Re: Problem getting properties list</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/problem-getting-properties-list/m-p/158810#M112885</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;(Maybe) I've found the solution…&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;To get all list of aspect:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; -&amp;nbsp;&amp;nbsp;&amp;nbsp; List&amp;lt;AspectDefinition&amp;gt; listAspect = typeDef.getDefaultAspects();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Now i have all list of applicable aspetcs.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This is the correct mode???&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Robert.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Feb 2008 08:20:37 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/problem-getting-properties-list/m-p/158810#M112885</guid>
      <dc:creator>robby</dc:creator>
      <dc:date>2008-02-13T08:20:37Z</dc:date>
    </item>
    <item>
      <title>Re: Problem getting properties list</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/problem-getting-properties-list/m-p/158811#M112886</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Not quite, that will give you the list of default aspects defined for that type in the model.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;To get the list of aspects applied to a node use nodeService.getAspects(nodeRef);&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Feb 2008 22:10:06 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/problem-getting-properties-list/m-p/158811#M112886</guid>
      <dc:creator>gavinc</dc:creator>
      <dc:date>2008-02-18T22:10:06Z</dc:date>
    </item>
    <item>
      <title>Re: Problem getting properties list</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/problem-getting-properties-list/m-p/158812#M112887</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The problem of your solution is quite simple…&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I don't have the nodeRef because the node dosn't exists…&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I want the list of applicable aspect of a particular content type. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In my template I have a select with the list of all content type defined in the system.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The user select a particular type, after the page are dispayied in base at this choice.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Well at this point is possible get the list of aspects with the contentType??&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Smth like:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;nodeService.getAspects(ContentType); &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Robert&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Feb 2008 08:29:14 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/problem-getting-properties-list/m-p/158812#M112887</guid>
      <dc:creator>robby</dc:creator>
      <dc:date>2008-02-19T08:29:14Z</dc:date>
    </item>
    <item>
      <title>Re: Problem getting properties list</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/problem-getting-properties-list/m-p/158813#M112888</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;OK, apologies I misunderstood what you were asking.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In that case you were right with typeDef.getDefaultAspects(), that will give you all the aspects that will be there when a node is created. As for other aspects, you'll never know, any aspect can be applied at runtime.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Feb 2008 15:41:01 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/problem-getting-properties-list/m-p/158813#M112888</guid>
      <dc:creator>gavinc</dc:creator>
      <dc:date>2008-02-19T15:41:01Z</dc:date>
    </item>
  </channel>
</rss>

