To use SharePoint Services Site Top Navigation DSL with Visual Studio 2008

1. Download the runtime binary zip file from the latest releases

2. Extract and run the windows installer from rhe runtime binary zip file.

3. Start Visual Studio 2008, create new project or load existing project

4. Right click the project name and select menu "Add | New Item ..."

5. Select SharePointTopNavDSL

add-new-item.png

6. Dismiss the security warning.

template-security-warning.png

7. In the property window, enter the SharePoint site URL

dsl-designer.png

8. Create navigation links by dragging link tool from toolbox to the graphical designer

9. Connect the navigation links by using the LinkRelationship tool

10. Edit navigation links' properties such as title and url in the property window

11. Save the design, a PowerShell script will be generated automatically

12. Run the PowerShell script on the SharePoint server to generate the site navigation
  • PowerShell needs to be installed on the SharePoint server first.
  • You also need to modify the master page to have the SharePoint site support multiple level of dropdown menu, if have not done so.

Last edited Mar 6, 2008 at 4:35 AM by yysun, version 3

Comments

Madnik7 Oct 31, 2008 at 10:58 PM 
When you save the design, a PS1 file will be generate automatically. you need to visit the following link to know how to run it with powershell
http://www.microsoft.com/technet/scriptcenter/topics/winpsh/manual/run.mspx#E5B