SP.ListTemplate.featureId property (sp.js)

Gets a value that specifies the feature identifier of the feature that contains the list schema for the list template.

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

var value = SP.ListTemplate.get_featureId ()

Return value

Type: SP.Guid

Remarks

It must be an empty GUID if the list schema for the list template is not contained within a feature.

REST resource endpoint

Endpoint URI structure

http://<sitecollection>/<site>/_api/web/ListTemplates(templatename)/featureId

HTTP requests

This resource supports the following HTTP commands:

  • POST

POST syntax

POST http://<sitecollection>/<site>/_api/web/ListTemplates(templatename)/featureId

GET syntax

GET http://<sitecollection>/<site>/_api/web/ListTemplates(templatename)/featureId