SP.Publishing.Navigation.WebNavigationSettings object (sp.publishing)
Manages the navigation settings for a publishing site.
Applies to: apps for SharePoint | SharePoint Foundation 2013 | SharePoint Server 2013
var object = new SP.Publishing.Navigation.WebNavigationSettings()
Members
The WebNavigationSettings object has the following members.
Methods
The WebNavigationSettings object has the following methods.
Method |
Description |
---|---|
Resets a SP.Publishing.Navigation.WebNavigationSettings object (sp.publishing) object to its default state. |
|
Writes the new settings to the web site that was passed to the constructor. |
Properties
The WebNavigationSettings object has the following properties.
Property |
Description |
---|---|
Gets or sets a value that indicates whether the New Page ribbon command will automatically create a navigation item for the newly created page. |
|
Gets or sets a value that indicates whether the New Page ribbon command will automatically create a friendly URL for the newly created page. |
|
Gets an object that manages the settings for current navigation. |
|
Gets an object that manages the settings for global navigation. |
Constructor
The WebNavigationSettings object has the following constructor.
Constructor |
Description |
---|---|
Initializes a new instance of the SP.Publishing.Navigation.WebNavigationSettings object. |