AnsweredAssumed Answered

Share 4.1 extensibility question

Question asked by jpfi on Nov 15, 2012
Latest reply on Nov 19, 2012 by ddraper
Hi guys,
I'm using Alfresco 4.1 Ent. & currently trying to add a new region to documentlibrary.ftl using a <customization> and map the region via <sub-component id="default">:

<customizations>
              <customization>
                  <targetPackageRoot>org.alfresco</targetPackageRoot>
                  <sourcePackageRoot>de.fme.alfresco.documentlibrary</sourcePackageRoot>
              </customization>
          </customizations>
in templates/de/fme/alfresco/documentlibrary/documentlibrary.ftl:

<@region id="my-new-region" target="flash-upload" action="after" scope="template"/>
and another module to map the region:

<components>
            <component>
               <region-id>my-new-region</region-id>
               <source-id>documentlibrary</source-id>
               <scope>template</scope>
               <sub-components>
                  <sub-component id="default">
                     <url>/myurl</url>
                  </sub-component>
               </sub-components>
            </component>
         </components>

It doesn't work as expected, my new region is not mapped to a webscript. It is working if I use the old template.my-new-region.documentlibrary.xml component definition…
any ideas?
Cheers, jan

Outcomes