
348
CHAPTER 11 Building a Custom gloBal navigation solution
CREATING THE SOLUTION
The remainder of this chapter walks you through building out the solution. It starts with tackling
the administration features, which include building out the list that stores the navigation structure
and creating a mechanism for activating the menu on the sites; then it moves on to the navigation
provider and other details around the timer job and caching.
Creating the Visual Studio Solution and Projects
The global navigation solution consists of a single SharePoint solution that contains three fea-
tures. The rst feature, Wrox.GlobalNavigation.Administration, is site collection scoped and
provides the functionality around creating the global navigation list where the actual navigation
structure is stored. It is typically activated on a single site collection within the web application.
This feature also contains the timer job that periodically refreshes the cached structure.
The second feature, Wrox.GlobalNavigation, also is a site-collection-scoped feature and contains the
functionality around displaying the custom menus on each site collection in the farm. It switches
the Navigation Menu data source to point to the custom site map provider. Additionally, this feature
provides a mechanism for site collection administrators to specify which navigation menu they want
the site collection to use. ...