
358
CHAPTER 11 Building a Custom gloBal navigation solution
TemplateType=”10000”
Url=”Lists/Wrox.GlobalNavigation”
Description=”Menus used by the Wrox.GlobalNavigation solution.”>
</ListInstance>
</Elements>
That should be the end of the XML you need to write for the solution.
You may have noticed that Visual Studio automatically created a Feature beneath the Features folder
when you added the list denition to the project. The next step is to give that feature a more descrip-
tive name and properly set the properties of the feature.
1. Right-click the Feature1 le beneath the Features folder and select Rename. In the Name
eld enter Administration.
2. Double-click the feature to open it up in Visual Studio, and change these settings:
Title: Wrox.GlobalNavigation Administration
Description: Creates a navigation menu list to manage global navigation menus.
Scope: Site
3. Test the code by pressing F5 to run the solution.
If everything worked as expected, a browser window should display after the solution deploys, and
you should see a link named Global Navigation Menus on your quick launch bar. Clicking that link
should take you to the Global Navigation Menu list with two content types beneath the New Item
menu. Figure11-4 highlights these menu items.
When you are satised that the list was created properly, go ahead and stop debugging. By default,
Visual Studio retracts the solution ...