Share via


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

Specifies navigation behavior and properties for an SP.Taxonomy.TermSet constructor (sp.taxonomy) object that is used to drive the navigation and friendly URLs for a website.

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

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

Members

The NavigationTermSet object has the following members.

Methods

The NavigationTermSet object has the following methods.

Method

Description

findTermForUrl

Searches for the first node that matches the specified URL.

getAllTerms

Returns a collection of the complete tree of child SP.Publishing.Navigation.NavigationTerm object (sp.publishing) objects in the SP.Publishing.Navigation.NavigationTermSet object (sp.publishing).

getAsEditable

Returns an editable version of the SP.Publishing.Navigation.NavigationTermSet object (sp.publishing) object.

getAsResolvedByView

Constructs a SP.Publishing.Navigation.NavigationTermSet object (sp.publishing) object in an editable mode that is bound to a manually constructed SP.Publishing.Navigation.NavigationTermSetView object (sp.publishing) object.

getAsResolvedByWeb

Constructs an editable SP.Publishing.Navigation.NavigationTermSet object (sp.publishing) object that is bound to the specified SP.Taxonomy.TermSet constructor (sp.taxonomy) object.

getTaxonomyTermSet

Returns the associated SP.Taxonomy.TermSet constructor (sp.taxonomy) object if this SP.Publishing.Navigation.NavigationTermSet object (sp.publishing) object is in the editable mode.

getWithNewView

Returns a new view of an SP.Publishing.Navigation.NavigationTermSet object (sp.publishing) object.

Properties

The NavigationTermSet object has the following properties.

Property

Description

isNavigationTermSet

Gets or sets a value that indicates whether the specified SP.Taxonomy.TermSet constructor (sp.taxonomy) object is intended to be used for navigation.

lcid

Gets the language code identifier (LCID) that is used when accessing the multilingual properties of the SP.Taxonomy.TermSet constructor (sp.taxonomy) object or the SP.Taxonomy.Term constructor (sp.taxonomy) object.

loadedFromPersistedData

Indicates that the SP.Publishing.Navigation.NavigationTermSet object (sp.publishing) object is loaded from an intermediate data file rather than directly from taxonomy objects.

termGroupId

Gets the ID of the associated SP.Taxonomy.TermGroup object (sp.taxonomy) object for this SP.Publishing.Navigation.NavigationTermSet object (sp.publishing) object.

termStoreId

Gets the unique ID of the associated term store for the SP.Publishing.Navigation.NavigationTermSet object (sp.publishing) object.

Constructor

The NavigationTermSet object has the following constructor.

Constructor

Description

NavigationTermSet

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