次の方法で共有


SP へList.baseTemplate プロパティ (sp.js)

Gets the list definition type on which the list is based.

**適用対象:**apps for SharePoint | SharePoint Foundation 2013 | SharePoint Server 2013

var value = SP.List.get_baseTemplate ()

戻り値

Type: Number

Remarks

Its value must be equal to or greater than 0. Its value must be equal to or less than 2147483647.

REST resource endpoint

See List resource for more information.

Endpoint URI structure

http://<sitecollection>/<site>/_api/web/lists(listid)/baseTemplate

HTTP requests

This resource supports the following HTTP commands:

  • POST

POST syntax

POST http://<sitecollection>/<site>/_api/web/lists(listid)/baseTemplate

GET syntax

GET http://<sitecollection>/<site>/_api/web/lists(listid)/baseTemplate