SP.ListCollection.ensureSitePagesLibrary() Method
Applies to: SharePoint Foundation 2010
In this article
Return Value
Remarks
Applies To
Gets a list that is the default location for wiki pages.
var value = SP.ListCollection.ensureSitePagesLibrary();
Return Value
Type: SP.List
The list that is the default location for wiki pages.
Remarks
If the list does not exist, this method creates and returns the list that is the default location for wiki pages.