SP.ListTemplateCollection.item property (sp.js)

Gets the list template at the specified index position in the list template collection.

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

var value = SP.ListTemplateCollection.get_item ()

Parameters

  • index
    Type: int

    The index of the list template.

Return value

Type: SP.ListTemplate

The list template at the specified index position in the list template collection.

REST resource endpoint

Endpoint URI structure

http://<sitecollection>/<site>/_api/web/ListTemplates/item

HTTP requests

This resource supports the following HTTP commands:

  • GET

GET syntax

GET http://<sitecollection>/<site>/_api/web/ListTemplates/item

Resource parameters

  • index