SP.Publishing.Navigation.TaxonomyNavigation.getWebNavigationSettings Method (sp.publishing)
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.
Applies to: apps for SharePoint | SharePoint Foundation 2013 | SharePoint Server 2013
SP.Publishing.Navigation.TaxonomyNavigation.getWebNavigationSettings(context)
Parameters
context
web
The web site from which to retrieve the navigation settings.
Return value
SP.Publishing.Navigation.WebNavigationSettings
A read-only, cached WebNavigationSettings object.
Remarks
Because the object is fetched from the cache, this method is more efficient than explicitly constructing an instance of WebNavigationSettings.