SP.List.defaultViewUrl Property

SharePoint 2010

Last modified: February 09, 2010

Applies to: SharePoint Foundation 2010

In this article
Property Value
Applies To

Gets the URL of the default view for the list.

var value = SP.List.get_defaultViewUrl(); 

It must not be null. It must not be empty. It must be a URL of server-relative form.