SP.NavigationNode.url property (sp.js)

Gets or sets a value that specifies the URL stored with the navigation node.

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

var value = SP.NavigationNode.get_url ()
var value = SP.NavigationNode.set_url ()

Return value

Type: String


It must be a URL of relative form if IsExternal is false. It must be a URL of relative or absolute form.