cancel
Showing results for 
Search instead for 
Did you mean: 

TreeInstance - Use only one PublicationTree with multiple domains

Pierre_Jenicot1
Star Contributor
Star Contributor

Hi,

I currently have multiple domains (6 in total) on my instance Nuxeo. Each domains have a sectionRoot by default.

I would like to use only one sectionRoot for all users and delete the others sectionRoot.

alt text

I looked at the extension point "treeInstance" but I can't override it. Nuxeo always keeps the basic configuration and add my contribution.

Below is my contrib :

<?xml version="1.0"?>
<component name="org.aclille.ecm.platform.publisher.contrib">

  <require>org.nuxeo.ecm.platform.publisher.contrib</require>

  <extension target="org.nuxeo.ecm.platform.publisher.impl.service.PublisherServiceImpl" point="treeInstance">

    <publicationTreeConfig factory="CoreProxy" localSectionTree="false" name="DefaultSectionsTree" title="label.publication.tree.local.sections" tree="RootSectionsCoreTree" >
      <parameters>
        <parameter name="RootPath">/projets-academiques-domain/sections</parameter>
        <parameter name="enableSnapshot">true</parameter>
        <parameter name="iconExpanded">/icons/folder_open.gif</parameter>
        <parameter name="iconCollapsed">/icons/folder.gif</parameter>
      </parameters>
    </publicationTreeConfig>

  </extension>
</component>

Thanks for advance

0 REPLIES 0
Getting started

Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.