<?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 TreeInstance - Use only one PublicationTree with multiple domains in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/treeinstance-use-only-one-publicationtree-with-multiple-domains/m-p/320538#M7539</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I currently have multiple domains (6 in total) on my instance Nuxeo.
Each domains have a sectionRoot by default.&lt;/P&gt;
&lt;P&gt;I would like to use only one sectionRoot for all users and delete the others sectionRoot.&lt;/P&gt;
&lt;P&gt;&lt;IMG src="https://connect.hyland.com/upfiles/nuxeo_sectionRoot.png" alt="alt text" /&gt;&lt;/P&gt;
&lt;P&gt;I looked at the extension point "treeInstance" but I can't override it.
Nuxeo always keeps the basic configuration and add my contribution.&lt;/P&gt;
&lt;P&gt;Below is my contrib :&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;&amp;lt;?xml version="1.0"?&amp;gt;
&amp;lt;component name="org.aclille.ecm.platform.publisher.contrib"&amp;gt;

  &amp;lt;require&amp;gt;org.nuxeo.ecm.platform.publisher.contrib&amp;lt;/require&amp;gt;

  &amp;lt;extension target="org.nuxeo.ecm.platform.publisher.impl.service.PublisherServiceImpl" point="treeInstance"&amp;gt;

    &amp;lt;publicationTreeConfig factory="CoreProxy" localSectionTree="false" name="DefaultSectionsTree" title="label.publication.tree.local.sections" tree="RootSectionsCoreTree" &amp;gt;
      &amp;lt;parameters&amp;gt;
        &amp;lt;parameter name="RootPath"&amp;gt;/projets-academiques-domain/sections&amp;lt;/parameter&amp;gt;
        &amp;lt;parameter name="enableSnapshot"&amp;gt;true&amp;lt;/parameter&amp;gt;
        &amp;lt;parameter name="iconExpanded"&amp;gt;/icons/folder_open.gif&amp;lt;/parameter&amp;gt;
        &amp;lt;parameter name="iconCollapsed"&amp;gt;/icons/folder.gif&amp;lt;/parameter&amp;gt;
      &amp;lt;/parameters&amp;gt;
    &amp;lt;/publicationTreeConfig&amp;gt;

  &amp;lt;/extension&amp;gt;
&amp;lt;/component&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Thanks for advance&lt;/P&gt;</description>
    <pubDate>Thu, 02 Apr 2015 11:28:47 GMT</pubDate>
    <dc:creator>Pierre_Jenicot1</dc:creator>
    <dc:date>2015-04-02T11:28:47Z</dc:date>
    <item>
      <title>TreeInstance - Use only one PublicationTree with multiple domains</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/treeinstance-use-only-one-publicationtree-with-multiple-domains/m-p/320538#M7539</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I currently have multiple domains (6 in total) on my instance Nuxeo.
Each domains have a sectionRoot by default.&lt;/P&gt;
&lt;P&gt;I would like to use only one sectionRoot for all users and delete the others sectionRoot.&lt;/P&gt;
&lt;P&gt;&lt;IMG src="https://connect.hyland.com/upfiles/nuxeo_sectionRoot.png" alt="alt text" /&gt;&lt;/P&gt;
&lt;P&gt;I looked at the extension point "treeInstance" but I can't override it.
Nuxeo always keeps the basic configuration and add my contribution.&lt;/P&gt;
&lt;P&gt;Below is my contrib :&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;&amp;lt;?xml version="1.0"?&amp;gt;
&amp;lt;component name="org.aclille.ecm.platform.publisher.contrib"&amp;gt;

  &amp;lt;require&amp;gt;org.nuxeo.ecm.platform.publisher.contrib&amp;lt;/require&amp;gt;

  &amp;lt;extension target="org.nuxeo.ecm.platform.publisher.impl.service.PublisherServiceImpl" point="treeInstance"&amp;gt;

    &amp;lt;publicationTreeConfig factory="CoreProxy" localSectionTree="false" name="DefaultSectionsTree" title="label.publication.tree.local.sections" tree="RootSectionsCoreTree" &amp;gt;
      &amp;lt;parameters&amp;gt;
        &amp;lt;parameter name="RootPath"&amp;gt;/projets-academiques-domain/sections&amp;lt;/parameter&amp;gt;
        &amp;lt;parameter name="enableSnapshot"&amp;gt;true&amp;lt;/parameter&amp;gt;
        &amp;lt;parameter name="iconExpanded"&amp;gt;/icons/folder_open.gif&amp;lt;/parameter&amp;gt;
        &amp;lt;parameter name="iconCollapsed"&amp;gt;/icons/folder.gif&amp;lt;/parameter&amp;gt;
      &amp;lt;/parameters&amp;gt;
    &amp;lt;/publicationTreeConfig&amp;gt;

  &amp;lt;/extension&amp;gt;
&amp;lt;/component&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Thanks for advance&lt;/P&gt;</description>
      <pubDate>Thu, 02 Apr 2015 11:28:47 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/treeinstance-use-only-one-publicationtree-with-multiple-domains/m-p/320538#M7539</guid>
      <dc:creator>Pierre_Jenicot1</dc:creator>
      <dc:date>2015-04-02T11:28:47Z</dc:date>
    </item>
  </channel>
</rss>

