<?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 displaying properties of custom space type in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/problem-displaying-properties-of-custom-space-type/m-p/40017#M21359</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;We have added the cm:titled aspect property configuration to web-client-config-properties.xml. This means that you should now see the name, title and description fields at the top of the property sheet when you have a custom type.&lt;BR /&gt;&lt;BR /&gt;In the future we'll support inheritance lookups for property configuration so you won't need to re-define properties for super types again for all your custom types.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;Due to the fact that inheritance lookups are not working for Aspect and Node Type config matches, this change does not actually fix the problem ERo mentions. I now have fixed the Aspect config evaluator class to correctly match inherited aspect types which solves your issue correctly - this will be available in the next 1.3 drop.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kevin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 30 May 2006 12:42:32 GMT</pubDate>
    <dc:creator>kevinr</dc:creator>
    <dc:date>2006-05-30T12:42:32Z</dc:date>
    <item>
      <title>Problem displaying properties of custom space type</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/problem-displaying-properties-of-custom-space-type/m-p/40011#M21353</link>
      <description>Hi,I defined some custom space type (my:customspace with parent type cm:folder).Problem:When I customize web client UI to display my:customspace custom properties, I'm unable to force web client to display parent cm:folder properties in the same order as its parent type.For some space created as cm:</description>
      <pubDate>Sun, 21 May 2006 18:05:40 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/problem-displaying-properties-of-custom-space-type/m-p/40011#M21353</guid>
      <dc:creator>ero</dc:creator>
      <dc:date>2006-05-21T18:05:40Z</dc:date>
    </item>
    <item>
      <title>Re: Problem displaying properties of custom space type</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/problem-displaying-properties-of-custom-space-type/m-p/40012#M21354</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I forgot to say that &lt;/SPAN&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;&amp;lt;show-property name="app:icon" show-in-view-mode="false" display-label-id="icon" component-generator="SpaceIconPickerGenerator"/&amp;gt;&lt;BR /&gt;&amp;lt;/property-sheet&amp;gt;&lt;/BLOCKQUOTE&gt;&lt;SPAN&gt;doesn't work!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It displays only one (default) folder icon (folder as been created with "star" icon) !!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank's&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 21 May 2006 18:17:49 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/problem-displaying-properties-of-custom-space-type/m-p/40012#M21354</guid>
      <dc:creator>ero</dc:creator>
      <dc:date>2006-05-21T18:17:49Z</dc:date>
    </item>
    <item>
      <title>Re: Problem displaying properties of custom space type</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/problem-displaying-properties-of-custom-space-type/m-p/40013#M21355</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;The order is determined by the order the config files are loaded and the order of the property sheet elements inside each config file.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As the web-client-config-custom.xml file is loaded last (this is how we can provide the override capabilities) any properties defined in here will appear last. As you've pointed out cm:auditable properties appear first, this is becuase they are defined in web-client-config-properties.xml which gets loaded before web-client-config-custom.xml.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We will probably add a way to include parent properties in the future but at the moment only exact matches for "node-type" are used. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;One way you can get around this is to load a custom config file containing the properties before any of our files. To do this you will need to override the spring bean definition for the config service, have a look at: &lt;/SPAN&gt;&lt;A href="http://wiki.alfresco.com/wiki/Web_Client_Configuration_Guide#Multiple_Config_Files" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/Web_Client_Configuration_Guide#Multiple_Config_Files&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As for the second issue, I think it is due to the fact that you haven't supplied a list of icons for your custom folder/space type.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In web-client-config.xml you'll find a section beginning:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&amp;lt;config evaluator="string-compare" condition="cm:folder icons"&amp;gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;This has a list of the icons to show when creating spaces, if you copy this section and paste it in your web-client-config-custom.xml and change cm:folder to be my:customspace i.e. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&amp;lt;config evaluator="string-compare" condition="my:customspace icons"&amp;gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;Is this what you meant? or do you have a different issue?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 May 2006 15:08:49 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/problem-displaying-properties-of-custom-space-type/m-p/40013#M21355</guid>
      <dc:creator>gavinc</dc:creator>
      <dc:date>2006-05-22T15:08:49Z</dc:date>
    </item>
    <item>
      <title>Re: Problem displaying properties of custom space type</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/problem-displaying-properties-of-custom-space-type/m-p/40014#M21356</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Gavin,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank's for information.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I understand what you say but I can't understand why cm:titled aspect properties (cm:title and cm:description) are not managed like e.g. cm:auditable aspect properties.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;We find &amp;lt;show-property name="description" or "title"/&amp;gt; everywhere in XML config file.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Are they or not related to cm:titled aspect ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If not, where are they coming from?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If yes, how can you explain that these aspect properties are mixed with type properties in "node-type" &amp;lt;property-sheet&amp;gt; sections ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Why not define only one &amp;lt;property-sheet&amp;gt; for cm:titled aspect ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 May 2006 15:55:13 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/problem-displaying-properties-of-custom-space-type/m-p/40014#M21356</guid>
      <dc:creator>ero</dc:creator>
      <dc:date>2006-05-22T15:55:13Z</dc:date>
    </item>
    <item>
      <title>Re: Problem displaying properties of custom space type</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/problem-displaying-properties-of-custom-space-type/m-p/40015#M21357</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Ok, good question.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When content and folders are created outside of the web client i.e. via CIFS, WebDAV or FTP, the titled aspect is not added by default.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This means when the client encounters nodes that have been added this way the title and description properties are missing. As there is no aspect either if the properties were defined in a config section for cm:titled they would never get found.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Therefore, title, description and app:icon are all registered against the base node type so that we can use the new property sheet attribute "ignore-if-missing", this will always force the properties to show and hence when the user presses OK the properties get set and the titled aspect added.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However, you're right we could also specify them in a config section for cm:titled, that would at least make the properties appear first for subtypes as in your scenario.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 May 2006 07:40:19 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/problem-displaying-properties-of-custom-space-type/m-p/40015#M21357</guid>
      <dc:creator>gavinc</dc:creator>
      <dc:date>2006-05-23T07:40:19Z</dc:date>
    </item>
    <item>
      <title>Re: Problem displaying properties of custom space type</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/problem-displaying-properties-of-custom-space-type/m-p/40016#M21358</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;We have added the cm:titled aspect property configuration to web-client-config-properties.xml. This means that you should now see the name, title and description fields at the top of the property sheet when you have a custom type.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However, they still remain in the 'node-type = content' section to cover the CIFS/FTP scenario I mentioned above.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In the future we'll support inheritance lookups for property configuration so you won't need to re-define properties for super types again for all your custom types.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 May 2006 11:51:17 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/problem-displaying-properties-of-custom-space-type/m-p/40016#M21358</guid>
      <dc:creator>gavinc</dc:creator>
      <dc:date>2006-05-23T11:51:17Z</dc:date>
    </item>
    <item>
      <title>Re: Problem displaying properties of custom space type</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/problem-displaying-properties-of-custom-space-type/m-p/40017#M21359</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;We have added the cm:titled aspect property configuration to web-client-config-properties.xml. This means that you should now see the name, title and description fields at the top of the property sheet when you have a custom type.&lt;BR /&gt;&lt;BR /&gt;In the future we'll support inheritance lookups for property configuration so you won't need to re-define properties for super types again for all your custom types.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;Due to the fact that inheritance lookups are not working for Aspect and Node Type config matches, this change does not actually fix the problem ERo mentions. I now have fixed the Aspect config evaluator class to correctly match inherited aspect types which solves your issue correctly - this will be available in the next 1.3 drop.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kevin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 May 2006 12:42:32 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/problem-displaying-properties-of-custom-space-type/m-p/40017#M21359</guid>
      <dc:creator>kevinr</dc:creator>
      <dc:date>2006-05-30T12:42:32Z</dc:date>
    </item>
  </channel>
</rss>

