SP.Site.getCustomListTemplates Method (sp.js)

Specifies the collection of custom list templates for a given site.

Applies to: apps for SharePoint | SharePoint Foundation 2013 | SharePoint Server 2013

SP.Site.getCustomListTemplates()

Parameters

  • web
    Type: SP.Web

    Specifies the site that contains the custom list templates to be returned.

Return value

Type: SP.ListTemplateCollection

REST resource endpoint

Endpoint URI structure

http://<sitecollection>/<site>/_api/site/getCustomListTemplates(web)

HTTP requests

This resource supports the following HTTP commands:

  • POST

POST syntax

POST http://<sitecollection>/<site>/_api/site/getCustomListTemplates(web)

Resource parameters

  • web