<?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 Automate Space creation using Template in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/automate-space-creation-using-template/m-p/281343#M234473</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm new to Alfresco.I need to automate the process of space creation when a new space is created.I define the template inside space template folder in Data Dictionary.But i do not how to automate the application of this template under User Homes folder.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm looking any one of this options.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Option 1: Create Rule that apply the space template to the new space that is created under a particular parent.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Option 2:I'm using OpenCMIS API.If through OpenCMIS if i can create the pass the template object to createfolder function and apply the template.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please let me is it possible to do the requirement through any of the above options.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks Shyam&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 12 Dec 2013 16:02:36 GMT</pubDate>
    <dc:creator>shyamsundar1_g</dc:creator>
    <dc:date>2013-12-12T16:02:36Z</dc:date>
    <item>
      <title>Automate Space creation using Template</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/automate-space-creation-using-template/m-p/281343#M234473</link>
      <description>I'm new to Alfresco.I need to automate the process of space creation when a new space is created.I define the template inside space template folder in Data Dictionary.But i do not how to automate the application of this template under User Homes folder.I'm looking any one of this options.Option 1: C</description>
      <pubDate>Thu, 12 Dec 2013 16:02:36 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/automate-space-creation-using-template/m-p/281343#M234473</guid>
      <dc:creator>shyamsundar1_g</dc:creator>
      <dc:date>2013-12-12T16:02:36Z</dc:date>
    </item>
    <item>
      <title>Re: Automate Space creation using Template</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/automate-space-creation-using-template/m-p/281344#M234474</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;I think that option 1 works and it is very easy to implement.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;You can, for example, define a rule to execute the following script:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; var template = companyhome.childByNamePath("Data Dictionary/Space Templates/test");&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; template.copy(document, true);&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;when a folder is created in "User Homes".&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The script executes a deep copy of the template folder to the newly create space: the "document" object is actually the the user home space.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Dec 2013 12:21:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/automate-space-creation-using-template/m-p/281344#M234474</guid>
      <dc:creator>marco_altieri</dc:creator>
      <dc:date>2013-12-13T12:21:00Z</dc:date>
    </item>
  </channel>
</rss>

