Export (0) Print
Expand All

SP.List.getView(viewGuid) Method

SharePoint 2010

Last modified: February 09, 2010

Applies to: SharePoint Foundation 2010

In this article
Return Value
Remarks
Applies To

Returns the list view with the specified view identifier.

var value = SP.List.getView(viewGuid);

viewGuid

Specifies the view identifier.

Type: SP.Guid

[System.ArgumentException]

List view does not exist. Error code: -2147024809.

[System.UnauthorizedAccessException]

The current user has insufficient permissions. Error code: -2147024891.

If an empty GUID is specified it must return the default view of the list.

Show:
© 2014 Microsoft