SP.Publishing.Navigation.NavigationTerm object (sp.publishing)
Specifies navigation behavior and properties for a SP.Taxonomy.Term 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.NavigationTerm()
Members
The NavigationTerm object has the following members.
Methods
The NavigationTerm object has the following methods.
Method |
Description |
---|---|
Deletes this SP.Publishing.Navigation.NavigationTerm object (sp.publishing) object and its child objects from the associated SP.Taxonomy.TermStore object (sp.taxonomy) object. |
|
Returns the SP.Publishing.Navigation.NavigationTerm.parent property (sp.publishing) parent object and all of its parents. If there is no parent, then the collection will be empty. |
|
Returns an editable version of a SP.Publishing.Navigation.NavigationTerm object (sp.publishing) object. |
|
Constructs a SP.Publishing.Navigation.NavigationTerm object (sp.publishing) object in editable mode that is bound to the specified SP.Taxonomy.Term constructor (sp.taxonomy) object. |
|
Constructs an editable SP.Publishing.Navigation.NavigationTerm object (sp.publishing) object that is bound to a specified SP.Taxonomy.Term constructor (sp.taxonomy) object. |
|
Returns the associatedFolderUrl property as a server-relative URL. |
|
Returns a target page address as a server-relative URL from the SP.Publishing.Navigation.NavigationTerm.targetUrl property (sp.publishing) property. |
|
Returns a target page address as a server-relative URL that does not include a query string. |
|
Returns the associated SP.Taxonomy.Term constructor (sp.taxonomy) object if the SP.Publishing.Navigation.NavigationTerm object (sp.publishing) object is in the editable mode. |
|
Returns the friendly URL segments as a concatenated path. |
|
Returns a new SP.Publishing.Navigation.NavigationTerm object (sp.publishing) object based on the SP.Publishing.Navigation.NavigationTermSetView object (sp.publishing) that is provided. |
|
Moves the SP.Publishing.Navigation.NavigationTerm object (sp.publishing) object to be a child of the specified NavigationTerm object or SP.Publishing.Navigation.NavigationTermSet object (sp.publishing) object. |
Properties
The NavigationTerm object has the following properties.
Property |
Description |
---|---|
Gets or sets the URL value that is used to associate some page URLs with this SP.Publishing.Navigation.NavigationTerm object (sp.publishing) object to indicate the location of the properties in the site map provider hierarchy. |
|
Gets the target URL that is used when rewriting URLs for catalog-friendly URLs that are based on this SP.Publishing.Navigation.NavigationTerm object (sp.publishing) object. |
|
Gets or sets the specified URL of an image that optionally can be displayed by a template page. |
|
A collection of site map provider names that will exclude this navigation term from their results when SP.Publishing.Navigation.NavigationTermSetView.excludeTermsByProvider property (sp.publishing) is true. This collection includes the names corresponding to SP.Publishing.Navigation.NavigationTerm.excludeFromGlobalNavigation property (sp.publishing) and SP.Publishing.Navigation.NavigationTerm.excludeFromCurrentNavigation property (sp.publishing). |
|
Gets or sets whether this navigation term and its child terms are hidden from the current navigation menu. |
|
Gets or sets a value that indicates whether the navigation term and its child terms are hidden from the global navigation menu. |
|
Gets a custom friendly URL segment for the node that is represented by the SP.Publishing.Navigation.NavigationTerm object (sp.publishing) object. |
|
Gets or sets a description that is typically displayed by a menu or by breadcrumb navigation controls when the mouse hovers over the navigation link. |
|
Indicates whether the SP.Publishing.Navigation.NavigationTerm object (sp.publishing) object is deprecated. |
|
Indicates whether a SP.Taxonomy.Term constructor (sp.taxonomy) object is a pinned term. |
|
Indicates whether the underlying SP.Taxonomy.Term constructor (sp.taxonomy) object is the root of a subtree of pinned terms. |
|
Returns the parent SP.Publishing.Navigation.NavigationTerm object (sp.publishing) object. |
|
Gets or sets the target URL if the navigation node represents a simple link. |
|
Gets the URL of a publishing page that is used to render a friendly URL. |
|
Gets the associated SP.Publishing.Navigation.NavigationTermSet object (sp.publishing) object that the SP.Publishing.Navigation.NavigationTerm object (sp.publishing) belongs to. |
Constructor
The NavigationTerm object has the following constructor.
Constructor |
Description |
---|---|
Initializes a new instance of the SP.Publishing.Navigation.NavigationTerm object. |