This documentation is archived and is not being maintained.

SP.Social.SocialPostCreationData.contentItems property (sp.userprofiles)

SharePoint 2013

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

Last modified: July 31, 2013

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

var value = SP.Social.SocialPostCreationData.get_contentItems()
SP.Social.SocialPostCreationData.set_contentItems(value) 

Type: SP.Social.SocialDataItem[]
The items to use to replace positional tokens in the post's content text.

Show: