SP.Publishing.Navigation.TaxonomyNavigation object (sp.publishing)

Provides common operations related to the managed navigation feature, friendly URLs, and the taxonomy navigation cache.

Applies to: apps for SharePoint | SharePoint Foundation 2013 | SharePoint Server 2013

var object = new SP.Publishing.Navigation.TaxonomyNavigation()

Members

The TaxonomyNavigation object has the following members.

Methods

The TaxonomyNavigation object has the following methods.

Method

Description

flushSiteFromCache

Discards the specified SPSite object from the taxonomy navigation cache.

flushTermSetFromCache

Removes the indicated term set from the taxonomy navigation cache, for a specific site subscription.

flushWebFromCache

Discards the specified SP.Web object (sp.js) object from the taxonomy navigation cache.

getNavigationLcidForWeb

Returns the language code identifier (LCID) that the taxonomy navigation system will use when it reads the SP.Taxonomy.Term constructor (sp.taxonomy) object for the specified SP.Web object (sp.js) object.

getTermSetForWeb

Returns efficiently from the taxonomy navigation cache a read-only instance of a SP.Publishing.Navigation.NavigationTermSet object (sp.publishing) object for the specified SP.Web object (sp.js) object.

getWebNavigationSettings

Returns the navigation settings for the specified SP.Web object (sp.js) object as a read-only instance of the SP.Publishing.Navigation.WebNavigationSettings object (sp.publishing) class that is efficiently obtained from the taxonomy navigation cache.

setCrawlAsFriendlyUrlPage

Updates the CrawlAsFriendlyUrlPage flag on the SP.Publishing.PublishingPage object (sp.publishing) object that is pointed to by the navigationTerm parameter with the specified value.

Constructor

The TaxonomyNavigation object has the following constructor.

Constructor

Description

TaxonomyNavigation

Initializes a new instance of the SP.Publishing.Navigation.TaxonomyNavigation object.