tags:

views:

53

answers:

0

I'm programmatically creating subsites and want to add links to them the Sites node on their parent's quicklaunch area, like the SharePoint web interface does by default.

Rather than enumerating the nodes in de QuickLaunch collection until I hit "Sites" (internationalization issues etc), I'd prefer to use Navigation.GetNodeById. Through trial and error I figured out the id of the Sites node is 1026, and various blog posts seem to confirm that I can take this id as a constant given... but I'd much rather find such confirmation somewhere on MSDN.

Could someone point me in the right direction? Is there a list of these IDs documented somewhere?