SP.View.defaultViewForContentType Property

Applies to: SharePoint Foundation 2010

Gets or sets a value that specifies whether the list view is the default list view for the content type specified by ContentTypeId.

var value = SP.View.get_defaultViewForContentType(); 
SP.View.set_defaultViewForContentType(value);

Property Value

Type: Boolean

Applies To

SP.View Class

See Also

Reference

SP.View Methods

SP.View Properties

SP Namespace