Don't miss out Virtual Happy Hour this Friday (April 26).

Try our conversational search powered by Generative AI!

Sitemap not showing pages with Visible in menus unchecked

Vote:
 

We're running a site on EPiServer 4.61, and the SiteMap control doesn't show pages that have Visible in menus unchecked.

Is there any way to make these pages appear in the site map, eg an undocumented property Wink?

Failing that, is the source code for the Site map web control available so we don't have to re-write the whole thing?

(Our user's requirement is that they have a large list of similar pages that they don't wish to appear in the navigation, but do want to appear in the site map, so users can select them here)

#19251
Apr 01, 2008 12:50
Vote:
 

Yes, there is, and it is even documented. Wink

Property EnableVisibleInMenu on the SiteMap webcontrol is the one you are looking for. From the SDK: "EnableVisibleInMenu: If tree should check that page should be "visible in menus" to appear in tree. "

/Mari

#19252
Apr 01, 2008 14:02
Vote:
 
Thanks Mari!
#19337
Apr 04, 2008 12:50
Vote:
 
Thanks Mari!
#19338
Apr 04, 2008 12:50
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.