Question

I'm experimenting with providing maximum functionality without writing code.

The sharepoint site collection has one sub-site called "Demo". "Demo" has one document library called "Testing".

I've enabled Tree View in "Look-and-Feel" and can see the site navigation in the Quick Launch. The tree-view thus created uses "SPHierarchyDataSourceControl" for the site data. I want to modify this tree view so that it only displays the Document Library "Testing" with its sub-folders.

As mentioned earlier, I do not want to use third-party webparts or write code. I want to edit only the master page to achieve the output.

Is it possible?

Was it helpful?

Solution

I think you can set the RootContext of the SPHierarchyDataSourceControl to List instead of Web, and also you can set the RootListId to the guid of your list (an easy way to get the guid from a list is to look in the URL when you are in document properties:

http://<yoursite>/<yourweb>/_layouts/listedit.aspx?List=%7B0362FA23%2D868B%2D4B02%2DA8DB%2D8EA3507936D5%7D
Licensed under: CC-BY-SA with attribution
Not affiliated with sharepoint.stackexchange
scroll top