<?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: Dynamic Spaces extension in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/dynamic-spaces-extension/m-p/265235#M218365</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;After prototyping the solution, I found that the DAO layer is not suitable for implementing the dynamic spaces feature,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;so I moved up a layer. No my plan is to overwrite the methods getChildAssocs in the class DbNodeServiceImpl.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Let's see where it leeds &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 15 May 2011 14:24:14 GMT</pubDate>
    <dc:creator>kronzucker</dc:creator>
    <dc:date>2011-05-15T14:24:14Z</dc:date>
    <item>
      <title>Dynamic Spaces extension</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/dynamic-spaces-extension/m-p/265234#M218364</link>
      <description>Hello,i have dived deeper into alfresco and have now the need for a feature which can be described as "dynamic spaces" (See http://wiki.alfresco.com/wiki/Dynamic_Spaces). It seems that there is nothing like dynamic spaces yet in Alfresco,so I want to develop it myself. As a first implementation I wa</description>
      <pubDate>Sun, 15 May 2011 12:08:47 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/dynamic-spaces-extension/m-p/265234#M218364</guid>
      <dc:creator>kronzucker</dc:creator>
      <dc:date>2011-05-15T12:08:47Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Spaces extension</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/dynamic-spaces-extension/m-p/265235#M218365</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;After prototyping the solution, I found that the DAO layer is not suitable for implementing the dynamic spaces feature,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;so I moved up a layer. No my plan is to overwrite the methods getChildAssocs in the class DbNodeServiceImpl.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Let's see where it leeds &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 15 May 2011 14:24:14 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/dynamic-spaces-extension/m-p/265235#M218365</guid>
      <dc:creator>kronzucker</dc:creator>
      <dc:date>2011-05-15T14:24:14Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Spaces extension</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/dynamic-spaces-extension/m-p/265236#M218366</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have moved down to the DAO layer again, after noticing that the nodeDAO has a dictionary service for querying the custom models.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The result is: it works!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Dynamic spaces were quite easy to implement, when you know where you can tweak the system.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have now folders that show all documents with a configurable given aspect. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;That was accomplished by adding a custom content model and overwriting the following method in class NodeDAOImpl&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;protected void selectChildAssocsByChildTypes(Long parentNodeId,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Set&amp;lt;QName&amp;gt; childNodeTypeQNames,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;ChildAssocRefQueryCallback resultsCallback) {&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In order to use the new created class, I changed the spring configuration file /alfresco/WEB-INF/classes/alfresco/dao/dao-context.xml&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;and replaced the nodeDao property with my own implementation class.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now I will go for dynamic folders for a certain property in an aspect to have a dynamic classification feature.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;When I have finished that and I am sure that it will not have performance issues I will post how you can &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;use this nice feature, too &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kind regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Georg Fleischer&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 May 2011 10:38:08 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/dynamic-spaces-extension/m-p/265236#M218366</guid>
      <dc:creator>kronzucker</dc:creator>
      <dc:date>2011-05-16T10:38:08Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Spaces extension</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/dynamic-spaces-extension/m-p/265237#M218367</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Unfortunately I have bad news. The feature of dynamic spaces works well in the explorer, but not in the share application.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;After an analysis of the functionality I encountered that the share application works with XPAth queries which do not work, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;if the associactions do not exist in the repository. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Perhaps I get it managed in another way, but for now the dynamic feature is dead :-(.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 May 2011 09:50:42 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/dynamic-spaces-extension/m-p/265237#M218367</guid>
      <dc:creator>kronzucker</dc:creator>
      <dc:date>2011-05-17T09:50:42Z</dc:date>
    </item>
  </channel>
</rss>

