<?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 applying versioning without modifying base contentmodel? in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/applying-versioning-without-modifying-base-contentmodel/m-p/27757#M13986</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;i'd like to apply versioning to all content in the system, the only docs on how to do so require owning the base alfresco contentmodel.xml, as documented here, &lt;/SPAN&gt;&lt;A href="http://wiki.alfresco.com/wiki/Versioning_Behaviour" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/Versioning_Behaviour&lt;/A&gt;&lt;SPAN&gt;, which i'd prefer not to do for maintainence reasons. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; .. is it possible to weave an aspect in via configuration to the base content model, cm:content in particular.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 08 Jun 2006 17:18:46 GMT</pubDate>
    <dc:creator>hazmat</dc:creator>
    <dc:date>2006-06-08T17:18:46Z</dc:date>
    <item>
      <title>applying versioning without modifying base contentmodel?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/applying-versioning-without-modifying-base-contentmodel/m-p/27757#M13986</link>
      <description>i'd like to apply versioning to all content in the system, the only docs on how to do so require owning the base alfresco contentmodel.xml, as documented here, http://wiki.alfresco.com/wiki/Versioning_Behaviour, which i'd prefer not to do for maintainence reasons.  .. is it possible to weave an aspe</description>
      <pubDate>Thu, 08 Jun 2006 17:18:46 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/applying-versioning-without-modifying-base-contentmodel/m-p/27757#M13986</guid>
      <dc:creator>hazmat</dc:creator>
      <dc:date>2006-06-08T17:18:46Z</dc:date>
    </item>
    <item>
      <title>Re: applying versioning without modifying base contentmodel?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/applying-versioning-without-modifying-base-contentmodel/m-p/27758#M13987</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Not at this moment, but is a feature we should add.&amp;nbsp; In the mean-time, you should be able to create a rule on the root folder which adds the versioning aspect.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Jun 2006 17:56:08 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/applying-versioning-without-modifying-base-contentmodel/m-p/27758#M13987</guid>
      <dc:creator>davidc</dc:creator>
      <dc:date>2006-06-12T17:56:08Z</dc:date>
    </item>
    <item>
      <title>Re: applying versioning without modifying base contentmodel?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/applying-versioning-without-modifying-base-contentmodel/m-p/27759#M13988</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;given the option of applying a recursive rule to the root, is it possible to specify this a rule for a&amp;nbsp; space via the space bootstrap configuration? alternatively is there a way to specify via configuration to run some custom code during boostrap, so we can achieve the same.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;we're trying to build out straight from svn for a dev/stage/prod setup, and manual configuration through the web, isn't viable.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Jun 2006 18:22:23 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/applying-versioning-without-modifying-base-contentmodel/m-p/27759#M13988</guid>
      <dc:creator>hazmat</dc:creator>
      <dc:date>2006-06-12T18:22:23Z</dc:date>
    </item>
    <item>
      <title>Re: applying versioning without modifying base contentmodel?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/applying-versioning-without-modifying-base-contentmodel/m-p/27760#M13989</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The bootstrap process uses the importer to load the initial set of data into the repository when it's started for the very first time.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Within /config/alfresco/bootstrap, you'll find the xml files that are imported.&amp;nbsp; There's one called spaces.xml which creates the Company Home folder and its sub-folders i.e. data dictionary and guest.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So, you can adjust this file by adding the rule definition to the Company Home folder.&amp;nbsp; What's the xml for the rule definition?&amp;nbsp; The easiest way to generate is to go into the Web Client, create the rule on the Company Home folder and export the Company Home folder.&amp;nbsp; The resulting xml will consist of the rule definition which you can copy into spaces.xml.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can just change the existing spaces.xml, but if you upgrade, then you'll lose your changes.&amp;nbsp; So, as with all customisations, you should use Alfresco's extension mechanism.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Within /config/alfresco, you'll find a bootstrap-context.xml file which lists all the processes (spring beans) that are executed during bootstrap.&amp;nbsp; You can override any of one these beans by providing your own replacement definition of the bean.&amp;nbsp; This is done by creating your own custom-context.xml (this can be any name) in /alfresco/extension.&amp;nbsp; The bean you want to override is spacesBootstrap.&amp;nbsp; You can copy its definition from bootstrap-context.xml.&amp;nbsp; You'll want to replace the reference to alfresco/bootstrap/spaces.xml with your own version of spaces.xml which can also live /alfresco/extension.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;To test, start Alfresco on a clean database/alf_data directory and the bootstrap process will be initiated.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Jun 2006 09:09:23 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/applying-versioning-without-modifying-base-contentmodel/m-p/27760#M13989</guid>
      <dc:creator>davidc</dc:creator>
      <dc:date>2006-06-13T09:09:23Z</dc:date>
    </item>
    <item>
      <title>Re: applying versioning without modifying base contentmodel?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/applying-versioning-without-modifying-base-contentmodel/m-p/27761#M13990</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;thanks david, thats very helpful, and solves the problem neatly.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Jun 2006 15:20:29 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/applying-versioning-without-modifying-base-contentmodel/m-p/27761#M13990</guid>
      <dc:creator>hazmat</dc:creator>
      <dc:date>2006-06-13T15:20:29Z</dc:date>
    </item>
  </channel>
</rss>

