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

SharePoint 2013

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

Last modified: August 28, 2013

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

var value = SP.Social.SocialDataItem.get_itemType()
SP.Social.SocialDataItem.set_itemType(value)

SocialDataItemType
The link type: user = 0, document = 1, site = 2, tag = 3, link = 4.

Show: