SP.Publishing.DesignPackage object (sp.publishing)

Imports and exports a design package to and from a site collection.

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

The DesignPackage object is static.

var object = new SP.Publishing.DesignPackage()

Members

The DesignPackage object has the following members.

Methods

The DesignPackage object has the following methods.

Method

Description

apply

Applies the specified design package to a site.

exportEnterprise

Exports the design package for a site template that is not a small business site template into the solution gallery and returns information about the design package.

exportSmallBusiness

Exports the design package for a small business site template to the solution gallery and returns information about the design package.

install

Installs a design package into a site.

unInstall

Uninstalls a design package.

Constructor

The DesignPackage object has the following constructor.

Constructor

Description

DesignPackage

Initializes a new instance of the SP.Publishing.DesignPackage object.