<?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 getSectionByPath in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/getsectionbypath/m-p/260705#M213835</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'm trying to get a section object for a given path (folder/subfolder) within GenericTemplateAsset. How can I do this?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Lemmy&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 10 Nov 2011 16:38:08 GMT</pubDate>
    <dc:creator>lemmy</dc:creator>
    <dc:date>2011-11-10T16:38:08Z</dc:date>
    <item>
      <title>getSectionByPath</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/getsectionbypath/m-p/260705#M213835</link>
      <description>Hi,I'm trying to get a section object for a given path (folder/subfolder) within GenericTemplateAsset. How can I do this?Thanks, Lemmy</description>
      <pubDate>Thu, 10 Nov 2011 16:38:08 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/getsectionbypath/m-p/260705#M213835</guid>
      <dc:creator>lemmy</dc:creator>
      <dc:date>2011-11-10T16:38:08Z</dc:date>
    </item>
    <item>
      <title>Re: getSectionByPath</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/getsectionbypath/m-p/260706#M213836</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Do you mean GenericTemplateAssetController? If so, you'll need to do something like:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;WebSite website = (WebSite) requestContext.getValue("webSite");&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;Section theSection = website.getSectionByPath("/the/path/that/you/are/interested/in/");&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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Nov 2011 12:40:31 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/getsectionbypath/m-p/260706#M213836</guid>
      <dc:creator>bremmington</dc:creator>
      <dc:date>2011-11-16T12:40:31Z</dc:date>
    </item>
  </channel>
</rss>

