SP.File.getLimitedWebPartManager Method (sp.js)

Specifies the control set used to access, modify, or add Web Parts associated with this Web Part Page and view.

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

SP.File.getLimitedWebPartManager()

Parameters

Return value

Type: SP.WebParts.LimitedWebPartManager

REST resource endpoint

See File resource for more information.

Endpoint URI structure

http://<sitecollection>/<site>/_api/web/folders/getbyurl(folderrelativeurl)/files/getbyurl(filerelativeurl)/getLimitedWebPartManager(scope)

HTTP requests

This resource supports the following HTTP commands:

  • POST

GET syntax

GET http://<sitecollection>/<site>/_api/web/folders/getbyurl(folderrelativeurl)/files/getbyurl(filerelativeurl)/getLimitedWebPartManager(scope)

POST syntax

POST http://<sitecollection>/<site>/_api/web/folders/getbyurl(folderrelativeurl)/files/getbyurl(filerelativeurl)/getLimitedWebPartManager(scope)

Resource parameters

  • scope