AnsweredAssumed Answered

Setting the root folder for a Site documentLibrary

Question asked by pedwards99 on Jul 18, 2017

Hi all,


Has anyone ever managed to set a custom root folder for a site? Ideally I want to set the root folder in the site document library based on a parameter passed in on the URL.


I've made a start by using Pavel Markov's useful blog alf-custom-doclibrary-site-page but it only goes so far. The root of the document list can be updated but the folder tree on the left does not work correctly and if you preview a document and start clicking on the breadcrumb folder path, it finds its way back to the default documentLibrary component.


I guess I need to find out how to set the root folder on the tree view and all components that present the breadcrumb.