<?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: Adding properties to ws:section in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/adding-properties-to-ws-section/m-p/263638#M216768</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes, it would be nice to have a generic "properties" field on a section node much like we have on a website node, but we don't at the moment. I'll make a note to add one. In the meantime there are a couple of ways that may allow you to achieve what you're looking for.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;One approach would be to add an aspect that has a multi-valued "properties" field to the section landing page (index.html). This is the asset that is loaded when the section is addressed directly, and your custom property would be returned from the repo. I'm not sure if this would enable you to do what you want, but it may do. Another possibility (warning - hack alert) would be to hijack the template mappings that are available on every section and insert a "custom" value. These normally take the format "typename=templatename", but if you were to insert a value like "openInNewWindow=true" then this wouldn't hurt the template resolution mechanism. These values can be read through Section.getTemplateMappings.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 30 Nov 2010 12:37:10 GMT</pubDate>
    <dc:creator>bremmington</dc:creator>
    <dc:date>2010-11-30T12:37:10Z</dc:date>
    <item>
      <title>Adding properties to ws:section</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/adding-properties-to-ws-section/m-p/263637#M216767</link>
      <description>Hi,Im looking to add some properties to the ws:section type in the model file, mainly to allow a new button to be created to toggle 'launch in new window' on/off.It doesn't appear that I'm able to access the property in 'top.get.html.ftl' - I presume that properties added to the model aren't automat</description>
      <pubDate>Tue, 30 Nov 2010 12:18:33 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/adding-properties-to-ws-section/m-p/263637#M216767</guid>
      <dc:creator>iann</dc:creator>
      <dc:date>2010-11-30T12:18:33Z</dc:date>
    </item>
    <item>
      <title>Re: Adding properties to ws:section</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/adding-properties-to-ws-section/m-p/263638#M216768</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes, it would be nice to have a generic "properties" field on a section node much like we have on a website node, but we don't at the moment. I'll make a note to add one. In the meantime there are a couple of ways that may allow you to achieve what you're looking for.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;One approach would be to add an aspect that has a multi-valued "properties" field to the section landing page (index.html). This is the asset that is loaded when the section is addressed directly, and your custom property would be returned from the repo. I'm not sure if this would enable you to do what you want, but it may do. Another possibility (warning - hack alert) would be to hijack the template mappings that are available on every section and insert a "custom" value. These normally take the format "typename=templatename", but if you were to insert a value like "openInNewWindow=true" then this wouldn't hurt the template resolution mechanism. These values can be read through Section.getTemplateMappings.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Nov 2010 12:37:10 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/adding-properties-to-ws-section/m-p/263638#M216768</guid>
      <dc:creator>bremmington</dc:creator>
      <dc:date>2010-11-30T12:37:10Z</dc:date>
    </item>
  </channel>
</rss>

