WebNavigationSettings.CreateFriendlyUrlsForNewPages property

Gets or sets a value that indicates whether the New Page ribbon command will automatically create a friendly URL for the newly created page.

Namespace:  Microsoft.SharePoint.Client.Publishing.Navigation
Assembly:  Microsoft.SharePoint.Client.Publishing (in Microsoft.SharePoint.Client.Publishing.dll)

Syntax

'Declaration
Public Property CreateFriendlyUrlsForNewPages As Boolean
    Get
    Set
'Usage
Dim instance As WebNavigationSettings
Dim value As Boolean

value = instance.CreateFriendlyUrlsForNewPages

instance.CreateFriendlyUrlsForNewPages = value
public bool CreateFriendlyUrlsForNewPages { get; set; }

Property value

Type: System.Boolean
true if a friendly URL will be created automatically for the newly created page; otherwise, false.

Remarks

This property is only used with managed navigation—that is, when the GlobalNavigation() property or the CurrentNavigation() property are configured for the TaxonomyProvider().

Normally, any user with AddListItem permissions can edit the navigation term set. However, if both the AddNewPagesToNavigation property value and the CreateFriendlyUrlsForNewPages property value are false, then the navigation term set can only be edited by users with ManageLists permissions.

See also

Reference

WebNavigationSettings class

WebNavigationSettings members

Microsoft.SharePoint.Client.Publishing.Navigation namespace