SP.Social.SocialDataItem.text property (sp.userprofiles)

Gets or sets the plain text to insert into the post's content text at the specified position.

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

var value = SP.Social.SocialDataItem.get_text()
SP.Social.SocialDataItem.set_text(value)

Return value

String
The plain text to insert into the post's content text at the specified position.

Remarks

Use {n} placeholders to specify positions in the post text.

See also

Other resources

SocialDataItem

How to: Include mentions, tags, and links to sites and documents in posts in SharePoint Server 2013