Hi,
I was doing some work on breadcrumbs and I wanted to honor the checkbox in the page 'Show in breadcrumb trail' to only show the page if the checkbox was on.
However, using the NavigationTreeViewModel it does not seem like I have access to that field in the node.
So I had to get the Page to get the ShowInLegend property from the page:
var page = Dynamicweb.Services.Pages.GetPage(node.PageId); var showInBreadcrumb = page.ShowInLegend;
I believe we should be able to access the property in the node, just like we can access IsActive and IsClickable.