getByTitle(strListName) Method

SP.ListCollection.getByTitle(strListName) Method

SharePoint 2010

Last modified: February 18, 2010

Applies to: SharePoint Foundation 2010

Returns the list with the specified title from the collection.

var value = SP.ListCollection.getByTitle(strListName);


A string containing the list title.

It must not be null. It must not be empty. Its length must be equal to or less than 255.

Type: String


The list does not exist. Error code: -2147024809.


The current user has insufficient permissions to perform the operation. Error code: - 2147024891.

© 2015 Microsoft