Export (0) Print
Expand All

SP.Web.getCatalog(typeCatalog) Method

SharePoint 2010

Last modified: May 19, 2011

Applies to: SharePoint Foundation 2010

In this article
Return Value
Applies To
Remarks

Gets the list template gallery, site template gallery, or Web Part gallery for the website.

var value = SP.Web.getCatalog(typeCatalog);

typeCatalog

Type: SP.ListTemplateType

The type of the gallery.

Type: SP.List

The gallery of the list template, site template, or Web Part.

This method returns null if there is no gallery with the specified type or typeCatalog is not a valid SP.ListTemplateType Enumeration enumeration value.

Show:
© 2014 Microsoft