Unlinking a SiteMapNode

Topics: Developer Forum, User Forum
May 13, 2008 at 12:09 AM
Edited May 13, 2008 at 12:10 AM
How do I unlink a site map node.  I went to the Web.sitemap file and deleted the URL and Page ID but left the Visible to True.  When I went to the page I couldnt see the node at all.  The reason I am trying to do this is because there is a path node in between my first and last that has no content, so there is no reason to have a link to it.

For Physicians ---> Employment Opportunities ---> Hospital #1
                              ---> Web Sites of Interest         ---> Hospital #2
                                                                                    ---> Hospital #3
                                                                                    ---> Hospital #4

In the above example,  the underlined "Employment Opportunities" does not have a page and no content, so how do I turn the link off to it?
May 13, 2008 at 1:15 PM
Not exactly sure if this is what you're looking for, but the MWPSK Extensions 1.1.4 has a feature to keep pages from showing up in the navigation bar, but still let them be visible to direct linking.  Check it out here:

http://www.codeplex.com/MyWebPagesStarterKit/WorkItem/View.aspx?WorkItemId=13162


May 13, 2008 at 3:05 PM


CarlCarlson wrote:
Not exactly sure if this is what you're looking for, but the MWPSK Extensions 1.1.4 has a feature to keep pages from showing up in the navigation bar, but still let them be visible to direct linking.  Check it out here:

http://www.codeplex.com/MyWebPagesStarterKit/WorkItem/View.aspx?WorkItemId=13162





Actually I figured out that if I just use the same page ID as the parent node it makes it appear to be an unlinked node.