Share via


SP.Social.SocialDataOverlay object (sp.userprofiles)

Associates a substring of a microblog post's text with a URI or other data. Used for rendering post content.

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

var object = new SP.Social.SocialDataOverlay()

Members

The SocialDataOverlay object has the following members.

Constructor

The SocialDataOverlay object has the following constructor.

Constructor

Description

SocialDataOverlay

Initializes a new instance of a SocialDataOverlay object.

Methods

The SocialDataOverlay object has the following methods.

Method

Description

initPropertiesFromJson

This member is reserved for internal use and is not intended to be used directly from your code.

writeToXml

This member is reserved for internal use and is not intended to be used directly from your code.

Properties

The SocialDataOverlay object has the following properties.

Property

Description

actorIndexes

Gets an array of indexes in the parent thread's actor array.

index

Gets the start index of the substring that is associated with the overlay.

length

Gets the length of the substring that is associated with the overlay.

linkUri

Gets the URI that is associated with the substring.

overlayType

Gets the overlay type.

typeId

This member is reserved for internal use and is not intended to be used directly from your code.

Remarks

To make it easier to render posts that include placeholders and SocialDataItem links, the server returns the information as a SocialDataOverlay object (in the post's overlays property).

See also

Other resources

SP.Social namespace