cancel
Showing results for 
Search instead for 
Did you mean: 

How to rename top level folder with nuxeo drive ?

Antoine_Cordier
Star Contributor
Star Contributor

Hello,

I've just followed the extend nuxeo drive series #1 #2 #3 #4 and I found those blogposts really helpfull to get into nuxeo drive. I'm just wondering about this fragment

    <extension target="org.nuxeo.drive.service.FileSystemItemAdapterService"
  point="topLevelFolderItemFactory">
 
  <topLevelFolderItemFactory
    class="org.nuxeo.drive.service.impl.DefaultTopLevelFolderItemFactory">
    <parameters>
      <parameter name="folderName">Nuxeo Drive</parameter>
    </parameters>
  </topLevelFolderItemFactory>
 
</extension>

Is it supposed as i supposed it actually was to rename top of the hierarchy folder on user file system ? If yes, I can't make it work, though other contributions i made (userWorkspace auto sync) are taken into account ...

Here is the fragment I use:

  <extension target="org.nuxeo.drive.service.FileSystemItemAdapterService"
    point="topLevelFolderItemFactory">
    <topLevelFolderItemFactory
      class="org.nuxeo.drive.hierarchy.userworkspace.factory.UserWorkspaceOnlyTopLevelFactory">
      <parameters>
        <parameter name="folderName">NOT WORKING</parameter>
        <parameter name="syncRootParentFactory">userWorkspaceSyncRootParentFactory
        </parameter>
      </parameters>
    </topLevelFolderItemFactory>
  </extension>

Thank you,

Antoine

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.