<?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 custom config in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/custom-config/m-p/250285#M203415</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've been working on dod5015-form-config-custom file. I've added the bean that defines the config-file to my context file. That works well. Ok, so the config file is picked up. But my customization in the config file is not. I want to use my own customized record metadata template (record-metadata.ftl). So I've made my own record-metadata-custom.ftl and I've placed it in /tomcat/shared/classes/alfresco/web-extension/ directory. The config-file is in the same directory. I modified this in my custom config file:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt; &amp;lt;config evaluator="node-type" condition="cm:content" replace="true"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;forms&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;form id="rm"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;view-form template="record-metadata-custom.ftl" /&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;edit-form template="record-metadata-custom.ftl" /&amp;gt;&lt;BR /&gt;…&lt;BR /&gt;..&lt;BR /&gt;.&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;/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;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;So view-form template and edit form-template should point to record-metadata-custom.ftl. Anyway, that's not happening. Is the tamplate file in a wrong place? Any help would be appreciated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Edit: The problem is not in the template file. I pointed the original dod-5015-config file to my custom template and it actually uses it. But if I try to use my custom config file instead it doesn't work and none of the fields in the template are drawn. I've got my dod-5015-custom-config file in the web-extension folder and this is the bean in my context file:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;lt;bean id="dod5015.custom.config" class="org.springframework.extensions.config.ConfigBootstrap" init-method="register"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;property name="configService" ref="web.config" /&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;property name="configs"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;list&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;value&amp;gt;classpath:alfresco/web-extension/dod-5015-form-config-custom.xml&amp;lt;/value&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/list&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/property&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;lt;/bean&amp;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;/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;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;No error is displayed but no fields are drawn that are defined in the template file.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 07 Apr 2011 10:45:56 GMT</pubDate>
    <dc:creator>sihnu</dc:creator>
    <dc:date>2011-04-07T10:45:56Z</dc:date>
    <item>
      <title>custom config</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/custom-config/m-p/250285#M203415</link>
      <description>HiI've been working on dod5015-form-config-custom file. I've added the bean that defines the config-file to my context file. That works well. Ok, so the config file is picked up. But my customization in the config file is not. I want to use my own customized record metadata template (record-metadata</description>
      <pubDate>Thu, 07 Apr 2011 10:45:56 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/custom-config/m-p/250285#M203415</guid>
      <dc:creator>sihnu</dc:creator>
      <dc:date>2011-04-07T10:45:56Z</dc:date>
    </item>
    <item>
      <title>Re: custom config</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/custom-config/m-p/250286#M203416</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I think &lt;/SPAN&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;classpath:&lt;/BLOCKQUOTE&gt;&lt;SPAN&gt; is causing this… Where does it point? What is that?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Edit: This same thing happens to other config-files too… I really would like to get those working so that I should not modify outside the shared folder. Please help.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Apr 2011 13:51:55 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/custom-config/m-p/250286#M203416</guid>
      <dc:creator>sihnu</dc:creator>
      <dc:date>2011-04-12T13:51:55Z</dc:date>
    </item>
    <item>
      <title>Re: custom config</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/custom-config/m-p/250287#M203417</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Check the template path is correct.. in view-form and edit-form..&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Apr 2011 04:40:49 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/custom-config/m-p/250287#M203417</guid>
      <dc:creator>joshijimit</dc:creator>
      <dc:date>2011-04-18T04:40:49Z</dc:date>
    </item>
  </channel>
</rss>

