Export (0) Print
Expand All

SP.WebParts.LimitedWebPartManager object (sp.js)

SharePoint 2013

Provides operations to access and modify the existing Web Parts on a Web Part Page, and add new ones to the Web Part Page.

Last modified: December 06, 2013

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

var object = new SP.WebParts.LimitedWebPartManager()

The LimitedWebPartManager object has the following members.

Constructor

The LimitedWebPartManager object has the following constructor.

Constructor

Description

LimitedWebPartManager

Initializes a new instance of the SP.WebParts.LimitedWebPartManager object (sp.js).

Methods

The LimitedWebPartManager object has the following methods.

Method

Description

addWebPart

Adds a Web Part to the Web Part Page.

importWebPart

Imports a Web Part from a string in the .dwp format.

initPropertiesFromJson

Properties

The LimitedWebPartManager object has the following properties.

Property

Description

hasPersonalizedParts

Gets a value that indicates whether the page contains one or more personalized Web Parts.

scope

Gets a value that specifies the current personalization scope of the Web Part Page.

webParts

Gets a value that specifies collection of the Web Parts on the Web Part Page available to the current user based on the current user's permissions.

Show:
© 2014 Microsoft