<?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: How to properly bootstrap folder in Company Home? in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/how-to-properly-bootstrap-folder-in-company-home/m-p/295866#M248996</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you for detailed explanation Axel. Clearly I did not understand different importers and concept of stores etc.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Using ImporterModuleComponent for my module does exactly what I want and works like a charm!.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 09 Jul 2013 13:13:11 GMT</pubDate>
    <dc:creator>patrykl</dc:creator>
    <dc:date>2013-07-09T13:13:11Z</dc:date>
    <item>
      <title>How to properly bootstrap folder in Company Home?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-properly-bootstrap-folder-in-company-home/m-p/295864#M248994</link>
      <description>Hi.I'm using Alfresco Community Edition 4.2.c. As I'm starting my journey with Alfresco I want to achieve something simple. I want to bootstrap new folder called MyFolder in Company Home space. I'm following this tutorial: http://wiki.alfresco.com/wiki/Bootstrap_DataI have simple module with followi</description>
      <pubDate>Thu, 04 Jul 2013 19:32:49 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-properly-bootstrap-folder-in-company-home/m-p/295864#M248994</guid>
      <dc:creator>patrykl</dc:creator>
      <dc:date>2013-07-04T19:32:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to properly bootstrap folder in Company Home?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-properly-bootstrap-folder-in-company-home/m-p/295865#M248995</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;using the spacesStoreImporter directly as in your case is really only useful for a first time setup with useExistingStore set to false. The wiki already states the behavior you have observed:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;blockquote&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If the store does not yet exist (the very first time a new alfresco installation starts up), the data will aways be bootstrapped, no matter the value, but from that moment on the store exists, and setting this to false means the next alfresco reboot these files won't be overridden with those on the classpath. Set it to true again and the next reboot the classpath files are loaded! Only import when YOU want it! &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/blockquote&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;useExistingStore does NOT mean it will check the content structure, i.e. if you add a bootstrap for a new folder, it won't check the existence of the folder. It only checks for existance of workspace://SpacesStore and if that is not available or useExistingStore is set to true, the bootstrap will be executed. In the latter case, this means it will always be executed, leading to the conflict you have witnessed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I almost always use the ImporterModuleComponent to bootstrap content structures for my modules. A module component is treated differently than the bootstrap by Alfresco. Its execution depends on the state of your Repository, i.e. if the component has not run once yet (and is applicable for the current version of the module), it will automatically executed. It does not matter if the store already exists.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Axel&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jul 2013 08:21:15 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-properly-bootstrap-folder-in-company-home/m-p/295865#M248995</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2013-07-08T08:21:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to properly bootstrap folder in Company Home?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-properly-bootstrap-folder-in-company-home/m-p/295866#M248996</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you for detailed explanation Axel. Clearly I did not understand different importers and concept of stores etc.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Using ImporterModuleComponent for my module does exactly what I want and works like a charm!.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jul 2013 13:13:11 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-properly-bootstrap-folder-in-company-home/m-p/295866#M248996</guid>
      <dc:creator>patrykl</dc:creator>
      <dc:date>2013-07-09T13:13:11Z</dc:date>
    </item>
  </channel>
</rss>

