<?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 Guidance on share-custom-config.xml in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/guidance-on-share-custom-config-xml/m-p/299315#M252445</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have added the following to my share-custom-config.xml file in order to enable non-minified js for debugging purposes:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;lt;config replace="true"&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;flags&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;client-debug&amp;gt;true&amp;lt;/client-debug&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;/flags&amp;gt;&lt;BR /&gt;&amp;lt;/config&amp;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;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This works - however I have discovered that the share admin console (/share/page/console/admin-console/) is now blank.&amp;nbsp; This happens even if my share-custom-config.xml only contains the opening and closing &amp;lt;blockcode&amp;gt;&amp;lt;alfresco-config&amp;gt;&amp;lt;/blockcode&amp;gt; tags - and no other config settings.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If however I rename the share-custom-config.xml to something else e.g. my-config.xml, and then wire it up with the following in the custom-slingshot-config-custom.xml file then my js is non-minified, but the admin console is now visible again:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;lt;bean id="custommodel.config" class="org.springframework.extensions.config.ConfigBootstrap" init-method="register"&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;property name="configService" ref="web.config"/&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;property name="configs"&amp;gt;&lt;BR /&gt;&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;value&amp;gt;classpath:alfresco/web-extension/my-config.xml&amp;lt;/value&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/list&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;/property&amp;gt; &lt;BR /&gt;&amp;lt;/bean&amp;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;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I suspect this is my lack of understanding as to how the share-custom-config.xml file works and would appreciate some guidance.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 07 Feb 2014 15:05:05 GMT</pubDate>
    <dc:creator>rw251</dc:creator>
    <dc:date>2014-02-07T15:05:05Z</dc:date>
    <item>
      <title>Guidance on share-custom-config.xml</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/guidance-on-share-custom-config-xml/m-p/299315#M252445</link>
      <description>I have added the following to my share-custom-config.xml file in order to enable non-minified js for debugging purposes:&amp;lt;config replace="true"&amp;gt;&amp;nbsp; &amp;lt;flags&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;client-debug&amp;gt;true&amp;lt;/client-debug&amp;gt;&amp;nbsp; &amp;lt;/flags&amp;gt;&amp;lt;/config&amp;gt;‍‍‍‍‍‍‍This works - however I have discovered that the s</description>
      <pubDate>Fri, 07 Feb 2014 15:05:05 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/guidance-on-share-custom-config-xml/m-p/299315#M252445</guid>
      <dc:creator>rw251</dc:creator>
      <dc:date>2014-02-07T15:05:05Z</dc:date>
    </item>
    <item>
      <title>Re: Guidance on share-custom-config.xml</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/guidance-on-share-custom-config-xml/m-p/299316#M252446</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Try removing the "replace" attribute from your "config" element. With replace set to true, you are telling Share that your element provides everything it needs. If you look at the out-of-the-box config element, you'll see you aren't doing that which is why the admin console (and likely other pages) are broken. With replace set to false you are telling Share that you are only overriding what you are providing.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jeff&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Feb 2014 15:27:54 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/guidance-on-share-custom-config-xml/m-p/299316#M252446</guid>
      <dc:creator>jpotts</dc:creator>
      <dc:date>2014-02-07T15:27:54Z</dc:date>
    </item>
    <item>
      <title>Re: Guidance on share-custom-config.xml</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/guidance-on-share-custom-config-xml/m-p/299317#M252447</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Jeff,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for the response.&amp;nbsp; I had previously tried this but the problem is that without the replace="true" the client-debug setting is not applied and the js files all appear non-minified.&amp;nbsp; If I copy the entire section from the share-config.xml into my custom one, and keep the replace="true" then it all works, but it doesn't seem ideal as if the share-config.xml changes in future I need to keep my file in synch when all I want to do is change one parameter.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm curious to know why my solution (the second bit of code in my first post) works as I'm uncomfortable using it without knowing exactly why it works.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Richard.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Feb 2014 15:46:31 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/guidance-on-share-custom-config-xml/m-p/299317#M252447</guid>
      <dc:creator>rw251</dc:creator>
      <dc:date>2014-02-07T15:46:31Z</dc:date>
    </item>
  </channel>
</rss>

