SP.Publishing.SiteServicesAddins object (sp.publishing)

The SP.Publishing.SiteServicesAddins class provides methods that manage site services add-ins and social plug-ins.

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

var object = new SP.Publishing.SiteServicesAddins()

Members

The SiteServicesAddins object has the following members.

Methods

The SiteServicesAddins object has the following methods.

Method

Description

deletePlugin

Delete an SP.Publishing.AddinPlugin object (sp.publishing) object by its SP.Publishing.AddinPlugin.title property (sp.publishing) property.

deleteSettings

Deletes site services add-in by its SP.Publishing.AddinSettings.id property (sp.publishing) property.

getPlugin

Gets the SP.Publishing.AddinPlugin object (sp.publishing) object and its SP.Publishing.AddinPlugin.title property (sp.publishing) property.

getSettings

Gets the setting of a site services add-in by its SP.Publishing.AddinSettings.id property (sp.publishing) property.

setPlugin

Add the social plugin if it doesn't exist otherwise update it.

setSettings

Adds the site services add-in if it does not exist; otherwise, this method updates it.

Constructor

The SiteServicesAddins object has the following constructor.

Constructor

Description

SiteServicesAddins

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