AnsweredAssumed Answered

Share repository view with custom root folder

Question asked by loftux Moderator on Jun 14, 2010
Latest reply on Sep 27, 2013 by tiagooliveira

I've configured for 3.3g Community to use a custom root folder for the Repository view.
   <!– Repository Library config section –>
   <config evaluator="string-compare" condition="RepositoryLibrary" replace="true">


And of course created the custom folder 'MyRoot' in Company Home.

It all works well, the tree view start from that custom folder, and navigating folders using tree view. What doesn't work is if you enable folders to be displayed, and try to click the folder to navigate to a subfolder, you will get an error. A double path is appended, it is trying to fetch MyRoot/MyRoot/myotherfolder and throws error in share 'Path not found: MyRoot/MyRoot/myotherfolder'.

I thought that would be quite trivial to fix, just detecting the double entry in the beginning, but it turns out there are quite a few scripts involved. Both client side scripts, server side alfresco webscripts, and they are used both for Sites and Repository view, so by fixing repository view, I may break Sites view.

Where should the fix go? Or do someone already have a fix?