I would like to access the properties of the terms that allow the term to appear in the global and current navigation. In the term store, you can find this setting under the Navigation Tab under "show in global navigation" and "show in current navigation".
I need to access these properties for each term programmatically.
I tried to get it via the page:
PublishingPage page = PublishingPage.GetPublishingPage(listItem); if (page.IncludeInGlobalNavigation)
but this does not work since I want the setting for the term and this gives back true - even if Managed Navigation is activated and the term is not shown in the global navigation menu.