Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
SocialDataItem object

SP.Social.SocialDataItem object (sp.userprofiles)

SharePoint 2013

Represents a link to a document, site, or website, a user mention, or a tag reference in a microblog post.

Last modified: August 28, 2013

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

var object = new SP.Social.SocialDataItem()

The SocialDataItem object has the following members.

Constructor

The SocialDataItem object has the following constructor.

Constructor

Description

SocialDataItem

Initializes a new instance of a link to a document, site, or website, a user mention, or a tag reference in a microblog post.

Methods

The SocialDataItem 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 SocialDataItem object has the following properties.

Property

Description

accountName

Gets or sets the account name of the user to mention.

itemType

Gets or sets the link type: a link to a document, site, or website, a user mention, or a tag reference.

tagGuid

Gets or sets the tag GUID.

text

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

typeId

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

uri

Gets or sets the URI for the document, site, or website.

Show:
© 2015 Microsoft