SP.ViewCreationInformation object

Specifies the properties used to create a new list view.

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

var object = new SP.ViewCreationInformation()

Members

The ViewCreationInformation object has the following members.

Constructor

The ViewCreationInformation object has the following constructor.

Constructor

Description

ViewCreationInformation

Initializes a new instance of the SP.ViewCreationInformation object.

Methods

The ViewCreationInformation object has the following methods.

Method

Description

initPropertiesFromJson

writeToXml

Properties

The ViewCreationInformation object has the following properties.

Property

Description

paged

Gets or sets a value that specifies whether the new list view is a paged view.

personalView

Gets or sets a value that specifies whether the new list view is a personal view. If the value is false, the new list view is a public view.

query

Gets or sets a value that specifies the query for the new list view.

rowLimit

Gets or sets a value that specifies the maximum number of list items that the new list view displays on a visual page of the list view.

setAsDefaultView

Gets or sets a value that specifies whether the new list view is the default list view.

title

Gets or sets the value that specifies the display name of the new list view.

typeId

This member is reserved for internal use and is not intended to be used directly from your code.

viewFields

Gets or sets the value that specifies the collection of field internal names for the list fields in the new list view.

viewTypeKind

Gets or sets a value that specifies the type of the new list view.