Blog

External URL on SiteMap node

I had a SiteMap node that I wanted to link to an external URL rather than just a internal page.  I found many articles such as Joe Audette's post stating that you need to turn of SecurityTrimming and assign the node to a local page and then afterwards reassign it to your external URL and it would work.  Then I got lucky and found a forum reply from on of the ASP.net team members saying all you needed to do was add roles="*" to your SiteMapNode.  I tried it and sure enough it works.  Below is a sample..

<siteMapnode title="Google" url="http://www.google.com" roles="*" />

It's amazing how simple things can be once you know what to do.

Return TopTrackbackPrintPermalink

Comments

Got something to say? Join the discussion »

leave a reply

 [Quick Submit with Ctrl+Enter]

Remember my details
Notify me of followup comments via e-mail