<?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: Associate an Custom View automatically in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/associate-an-custom-view-automatically/m-p/85224#M57466</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You could do this using a javascript rule. You would execute the javascript rule when a new space is created.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;A template view is simply an aspect that points to the template that is responsible for rendering the custom view. The aspect is called 'cm:templatable' and the noderef property on it is called 'cm:template'. So within your javascript you simply need to add that aspect and set the noderef property to the template node for the custom view.&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://wiki.alfresco.com/wiki/JavaScript_API" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/JavaScript_API&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this helps,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kevin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 14 Jun 2007 13:09:35 GMT</pubDate>
    <dc:creator>kevinr</dc:creator>
    <dc:date>2007-06-14T13:09:35Z</dc:date>
    <item>
      <title>Associate an Custom View automatically</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/associate-an-custom-view-automatically/m-p/85223#M57465</link>
      <description>Hi,Its possible associate an Custom View (FreeMarker template) to a space automatically, when I create an new space? What I want is define that all children of that space have that Custom View (FreeMarker template)â€¦itâ€™s that possible?How can I do that?Tankâ€™s in advance for the help!</description>
      <pubDate>Wed, 13 Jun 2007 23:07:07 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/associate-an-custom-view-automatically/m-p/85223#M57465</guid>
      <dc:creator>ze</dc:creator>
      <dc:date>2007-06-13T23:07:07Z</dc:date>
    </item>
    <item>
      <title>Re: Associate an Custom View automatically</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/associate-an-custom-view-automatically/m-p/85224#M57466</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You could do this using a javascript rule. You would execute the javascript rule when a new space is created.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;A template view is simply an aspect that points to the template that is responsible for rendering the custom view. The aspect is called 'cm:templatable' and the noderef property on it is called 'cm:template'. So within your javascript you simply need to add that aspect and set the noderef property to the template node for the custom view.&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://wiki.alfresco.com/wiki/JavaScript_API" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/JavaScript_API&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this helps,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kevin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jun 2007 13:09:35 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/associate-an-custom-view-automatically/m-p/85224#M57466</guid>
      <dc:creator>kevinr</dc:creator>
      <dc:date>2007-06-14T13:09:35Z</dc:date>
    </item>
  </channel>
</rss>

