Site Navigation Tree View

Rating: No reviews yet
Downloads: 390
Released: Mar 3, 2009
Updated: Mar 4, 2009 by ggalipeau
Dev status: Beta Help Icon

Recommended Download

Application Site Navigation Tree View
application, 73K, uploaded Mar 3, 2009 - 390 downloads

Release Notes

The RDA Site Navigation consists of a tree view and custom site map providers. Site map providers are SharePoint’s way to combine SharePoint’s web and site objects into a structure that can be bound to navigation controls. SharePoint provides multiple Site Map providers out-of-the-box and the RDA Site Navigation project shows how to create custom providers.

RDA Site Map Provider
The RDA Site Map Provider is an inherited PortalSiteMapProvider and overrides some of the customizable fields to give a consistent navigation to the end user. This provider shows all the SharePoint webs and pages regardless of what settings are set on the site. The reason for this provider is because the out-of-the-box SharePoint providers are configurable on the Site Settings/Navigation page. However, many times an application needs a provider that doesn’t use those settings and instead just simply shows all sites and webs (without showing the lists/libraries).

Tree View
An tree view that shows SharePoint sites and webs based on the provider it is bound to. This webpart has custom webpart properties that allow you to easily switch the provider it is bound to.

Putting it Together
The Visual Studio solution uses WSPBuilder to create a SharePoint solution called RDA.SiteNavigation.wsp that consists of the following:
  • RDA.SiteNavigation.dll: This consists of all the .NET code.
  • RDA Site Navigation Web Application Feature: This is the Web Application level feature that should be activated to deploy the web.config
  • RDA Site Navigation Tree View Site Collection Feature: This is the Site Collection level feature that should be activated to deploy the tree view

Installation Instructions:
1. Deploy the RDA.SiteNavigation.wsp located under the RDA.SiteNavigation folder
2. Go to Central Administration > Manage Web Application Features and Activate the RDA Site Navigation Web Application Feature (this is to configure the web.config to know about the custom Site Map provider).
3. Go to the SharePoint Site Collection in which you want to install the tree view and then go to Site Collection Features
4. Activate the RDA Site Navigation Tree View

Now the tree view should be in the webpart gallery. You can add it to a webzone or you can reference the assembly directly on a custom masterpage.

5. If you want to change the tree views provider to use the Custom Site Map Provider created in this project. Then just edit the webpart and switch the Site Map Provider to the RDACombinedSitesAndPagesSiteMapProvider. This will show all sites and pages (regardless of any settings on the site).

More information and screenshots can be found on the RDA blog at

Reviews for this release

No reviews yet for this release.