Export (0) Print
Expand All

AddinPlugin class

SharePoint 2013

Represents the settings of a social plugin.

System.Object
  Microsoft.SharePoint.Publishing.AddinPlugin

Namespace:  Microsoft.SharePoint.Publishing
Assembly:  Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)

[PermissionSetAttribute(SecurityAction.Demand, Name = "FullTrust")]
public class AddinPlugin

Social plugins are social UI widgets for public facing websites (small business websites in SharePoint Online). In a SharePoint Online page, social plugins are encapsulated as ScriptEditorWebPart objects with markup defined by the Addin Plugin.

This markup can contain snippets in HTML, JavaScript, or both that is rendered on SharePoint Online site pages where it is inserted.

When an Addin Plugin object is installed, a ScriptEditorWebPart object will be created in the Social Plugins Web Part category with the markup property as its contents. For example, the Facebook Integration App defines several social plugins that are encapsulated in Addin Plugin instances. One of these is Facebook Like Button.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show:
© 2015 Microsoft