Closed AGuyCalledGerald closed 9 years ago
When using custom attributes, you must add them to the AttributesToIgnore configuration setting or they will automatically be taken into account when matching the node and when resolving the URL.
Thank you, it works now.
You're welcome.
I use the method SiteMaps.Current.FindSiteMapNodeFromCurrentContext() to return the current node. This does not work if the node has a custom attribute. If the custom attribute is empty or removed altogether, everything works fine. I use .Net MVC 5 and SitemapProvider v 4.6.18