I tried to add a direct HTML hyperlink into a sitemap and web.config for SharePoint.  Sounds simple but something wasn’t working.

For a sitemapnode (new tab), here is what i do:

create an entry in the sitemap
edit the text and title in the global resources
add permissions to the web.config for the node

  As our XmlSiteMapProvider config shows, we are using security trimming

securityTrimmingEnabled="true"

After much searching i found that when using security trimming i just needed to add roles info to the tag.  Note: be sure to close the tag with a />

<siteMapNode roles="*" resourceKey="OtherSite" url="http://bruceadams.wordpress.com/"/>

Big thanks to Bruce!

Advertisements