SP.Social.SocialPostCreationData object (sp.userprofiles)

Represents content and related information for a new microblog post.

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

var object = new SP.Social.SocialPostCreationData()

Members

The SocialPostCreationData object has the following members.

Properties

The SocialPostCreationData object has the following properties.

Property

Description

attachment

Gets or sets an image, video, or document attachment for the post.

contentItems

Gets or sets the items to replace the positional tokens in the post's content text.

contentText

Gets or sets the plain text of the post, which may include positional insertion tokens.

definitionData

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

securityUris

Gets or sets URIs to SharePoint objects that define access permissions for the post.

source

Gets or sets the source of the post.

typeId

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

updateStatusText

Gets or sets a value that controls whether the post's plain-text content should replace the user's status text.

Methods

The SocialPostCreationData 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.

Constructor

The SocialPostCreationData object has the following constructor.

Constructor

Description

SocialPostCreationData

Initializes a new instance of a SocialPostCreationData object.