SiteMapPath not showing on page

Oct 22, 2007 at 1:30 AM
Hi All,

I am using WCSF in my application. I have Menu control and SiteMapPath, which are consuming SiteMapDataSource source provided by WCSF.

Now I have Report Details page that is not directly accessible to user. User must come to this page from other page. So I have not registered this page in RegisterSiteMapInformation function of module initializer so that it will not show in Menu.

But if I do not register this page in RegisterSiteMapInformation, page does not show SiteMapPath on Report Details Page. And if I register, it does show SiteMapPath but it also shows it page in Menu.

I just want page should show SiteMapPath on Report Details page without adding it in SiteMapNodeInfo( should not display in menu).

Thanks,
Mahesh
Oct 24, 2007 at 4:20 PM
Hi.

What you could do is add authorization rules for that specific page (in order to display, or not, that page in the SiteMap).

You may find some information on this subject in these WCSF Help topics:
  • How to: Add Module Pages to the Site Map.
  • Authorization.
  • ModuleSiteMapProvider.

There’s also a post regarding the same issue that you may like to check out:

Please let me know if this helps!

Ignacio Baumann Fonay
http://staff.southworks.net/blogs/ibaumann/