Export (0) Print
Expand All

SP.ListCollection.ensureSiteAssetsLibrary() Method

SharePoint 2010

Last modified: May 26, 2011

Applies to: SharePoint Foundation 2010

In this article
Return Value
Remarks
Applies To

Gets a list that is the default asset location for images or other files, which the users upload to their wiki pages.

var value = SP.ListCollection.ensureSiteAssetsLibrary();

Type: SP.List

The list that is the default location for wiki page assets.

If the list does not exist, this method creates and returns a list designated as a default asset location for images or other files, which the users upload to their wiki pages.

Show:
© 2015 Microsoft